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

vitest with coverage - TypeError: unknown system info kind "inspector" #26809

Closed
birkskyum opened this issue Nov 10, 2024 · 0 comments · Fixed by #26836
Closed

vitest with coverage - TypeError: unknown system info kind "inspector" #26809

birkskyum opened this issue Nov 10, 2024 · 0 comments · Fixed by #26836
Labels
bug Something isn't working correctly node compat

Comments

@birkskyum
Copy link
Contributor

for deno 2.0.6,

repro
#23882 (comment)

➜ deno run test run --coverage
Task test vitest "run" "--coverage"
Loaded  [email protected]  and  @vitest/[email protected] .
Running mixed versions is not supported and may lead into bugs
Update your dependencies and make sure the versions match.

 RUN  v2.1.1 /Users/admin/repos/deno-kitchensink/vitest-test
      Coverage enabled with v8


⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Vitest caught 1 unhandled error during the test run.
This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
TypeError: unknown system info kind "inspector"
 ❯ Session.connect node:inspector:18:24
 ❯ Object.startCoverage node_modules/.deno/@[email protected]/node_modules/@vitest/coverage-v8/dist/index.js:8:13
 ❯ startCoverageInsideWorker node_modules/.deno/[email protected]/node_modules/vitest/dist/chunks/coverage.zlNdAMHK.js:49:42
 ❯ run node_modules/.deno/[email protected]/node_modules/vitest/dist/chunks/runBaseTests.9YDrdSI4.js:105:3
 ❯ runBaseTests node_modules/.deno/[email protected]/node_modules/vitest/dist/chunks/base.CsQmmYBA.js:29:3
 ❯ ForksBaseWorker.executeTests node_modules/.deno/[email protected]/node_modules/vitest/dist/workers/forks.js:26:7
 ❯ execute node_modules/.deno/[email protected]/node_modules/vitest/dist/worker.js:116:5
 ❯ onMessage node_modules/.deno/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

 Test Files  no tests
      Tests  no tests
     Errors  1 error
   Start at  23:09:36
@bartlomieju bartlomieju added bug Something isn't working correctly node compat labels Nov 12, 2024
@kt3k kt3k changed the title vitest with coverate - TypeError: unknown system info kind "inspector" vitest with coverage - TypeError: unknown system info kind "inspector" Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly node compat
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants