We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Custom reporters fail to load in 0.25.5 but work fine in 0.25.4.
0.25.5
0.25.4
~/projects/vitest-dev-vitest-hubyyo ❯ npm test $ vitest run Error: Failed to load custom Reporter from vitest-sonar-reporter ❯ loadCustomReporterModule file:/home/projects/vitest-dev-vitest-hubyyo/node_modules/vitest/dist/chunk-vite-node-externalize.ca4784be.js:9214:11 ❯ eval file:/home/projects/vitest-dev-vitest-hubyyo/node_modules/vitest/dist/chunk-vite-node-externalize.ca4784be.js:9227:32 ❯ Vitest.setServer file:/home/projects/vitest-dev-vitest-hubyyo/node_modules/vitest/dist/chunk-vite-node-externalize.ca4784be.js:10595:201 ❯ configureServer file:/home/projects/vitest-dev-vitest-hubyyo/node_modules/vitest/dist/chunk-vite-node-externalize.ca4784be.js:11415:11 ❯ Module.createServer file:/home/projects/vitest-dev-vitest-hubyyo/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:62164:24 ❯ createVitest file:/home/projects/vitest-dev-vitest-hubyyo/node_modules/vitest/dist/chunk-vite-node-externalize.ca4784be.js:11447:18 ❯ Module.startVitest file:/home/projects/vitest-dev-vitest-hubyyo/node_modules/vitest/dist/chunk-vite-node-externalize.ca4784be.js:11563:15 ❯ start file:/home/projects/vitest-dev-vitest-hubyyo/node_modules/vitest/dist/cli.js:712:17 ❯ CAC.run file:/home/projects/vitest-dev-vitest-hubyyo/node_modules/vitest/dist/cli.js:691:3 Caused by: Error: [vite-node] Failed to load ./sonar-reporter.js ❯ ViteNodeRunner.directRequest file:/home/projects/vitest-dev-vitest-hubyyo/node_modules/vitest/dist/chunk-vite-node-source-map.d0aa773d.js:255:13
After #2245 there were some new reporter tests added. I think more is needed.
I'm reusing the repro from earlier bug. Only changed the version to the latest one: https://stackblitz.com/edit/vitest-dev-vitest-hubyyo?file=package.json
Change version to see tests pass
- "vitest": "0.25.5", + "vitest": "0.25.4",
Stackblitz
pnpm
The text was updated successfully, but these errors were encountered:
node_modules
Successfully merging a pull request may close this issue.
Describe the bug
Custom reporters fail to load in
0.25.5
but work fine in0.25.4
.After #2245 there were some new reporter tests added. I think more is needed.
Reproduction
I'm reusing the repro from earlier bug. Only changed the version to the latest one: https://stackblitz.com/edit/vitest-dev-vitest-hubyyo?file=package.json
Change version to see tests pass
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: