fix(vite-node): invalidate source map cache #11886
ci.yml
on: pull_request
Diff: node-latest, ubuntu-latest
6s
Lint: node-latest, ubuntu-latest
2m 32s
Matrix: test-browser
Matrix: test
Annotations
6 errors
test/imports.test.ts > importing special files from node_modules > importing wasm with ?raw query:
test/core/test/imports.test.ts#L116
AssertionError: expected '' to be '(module)' // Object.is equality
- Expected
+ Received
- (module)
❯ test/imports.test.ts:116:25
|
Build&Test: node-20, ubuntu-latest
Process completed with exit code 1.
|
specs/runner.test.ts > running browser tests > tests are actually running:
test/browser/specs/runner.test.ts#L35
AssertionError: expected [ { …(6) }, { …(6) }, { …(6) }, …(13) ] to have a length of 17 but got 16
- Expected
+ Received
- 17
+ 16
❯ specs/runner.test.ts:35:25
|
Browser: firefox, windows-latest
Process completed with exit code 1.
|
test/cli.test.ts > invalidate source map cache:
test/vite-node/test/cli.test.ts#L59
Error: Timeout when waiting for error "source-map.ts:7:11".
Received:
stdout: Error: boom
at main (D:\a\vitest\vitest\test\vite-node\src\watch\source-map.ts:3:11)
at D:\a\vitest\vitest\test\vite-node\src\watch\source-map.ts:8:1
at ViteNodeRunner.runModule (file:///D:/a/vitest/vitest/packages/vite-node/dist/client.mjs:400:11)
at ViteNodeRunner.directRequest (file:///D:/a/vitest/vitest/packages/vite-node/dist/client.mjs:382:16)
at ViteNodeRunner.cachedRequest (file:///D:/a/vitest/vitest/packages/vite-node/dist/client.mjs:207:14)
at ViteNodeRunner.executeFile (file:///D:/a/vitest/vitest/packages/vite-node/dist/client.mjs:170:12)
at CAC.run (file:///D:/a/vitest/vitest/packages/vite-node/dist/cli.mjs:99:5)
stderr:
❯ test/cli.test.ts:59:18
|
Build&Test: node-20, windows-latest
Process completed with exit code 1.
|