Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report failling with vitest 0.25.5 #39

Closed
DamnClin opened this issue Dec 8, 2022 · 2 comments
Closed

Report failling with vitest 0.25.5 #39

DamnClin opened this issue Dec 8, 2022 · 2 comments

Comments

@DamnClin
Copy link

DamnClin commented Dec 8, 2022

When upgrading to vitest 0.25.5 the tests are failing with:

Error: Failed to load custom Reporter from vitest-sonar-reporter
 ❯ loadCustomReporterModule node_modules/vitest/dist/chunk-vite-node-externalize.ca4784be.js:9194:11
 ❯ async file:/tmp/jhlite/vueapp/node_modules/vitest/dist/chunk-vite-node-externalize.ca4784be.js:9207:32
 ❯ Vitest.setServer node_modules/vitest/dist/chunk-vite-node-externalize.ca4784be.js:10575:170
 ❯ configureServer node_modules/vitest/dist/chunk-vite-node-externalize.ca4784be.js:11395:11
 ❯ createServer node_modules/vite/dist/node/chunks/dep-5605cfa4.js:62117:24
 ❯ createVitest node_modules/vitest/dist/chunk-vite-node-externalize.ca4784be.js:11427:18
 ❯ startVitest node_modules/vitest/dist/chunk-vite-node-externalize.ca4784be.js:11543:15
 ❯ start node_modules/vitest/dist/cli.js:701:17
 ❯ CAC.run node_modules/vitest/dist/cli.js:680:3

Caused by: Error: [vite-node] Failed to load ./sonar-reporter.js
 ❯ ViteNodeRunner.directRequest node_modules/vitest/dist/chunk-vite-node-source-map.d0aa773d.js:237:13

Ex of a failing dependabot build: https://github.com/jhipster/jhipster-lite/actions/runs/3646191190/jobs/6157124260

@AriPerkkio
Copy link
Owner

AriPerkkio commented Dec 8, 2022

This is fixed in vitest@0.25.6, see vitest-dev/vitest#2455.

@DamnClin
Copy link
Author

DamnClin commented Dec 8, 2022

Thanks a lot

@DamnClin DamnClin closed this as completed Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants