test_runner: support coverage with isolation:'none' via run() API #84755
Annotations
2 errors and 2 notices
|
test-linux (ubuntu-24.04-arm)
Process completed with exit code 1.
|
|
test-linux (ubuntu-24.04-arm):
test/sequential/test-watch-mode-worker.mjs#L0
--- stdout ---
Test failure: 'should watch changes to nested worker dependencies - esm'
Location: test/sequential/test-watch-mode-worker.mjs:243:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '\n' +
+ 'node:internal/event_target:1118\n' +
+ ' process.nextTick(() => { throw err; });\n' +
+ ' ^\n' +
+ "file:///home/runner/work/node/node/dir%20with%20$unusual%22chars%3F'%C3%A5%C3%9F%E2%88%82%C6%92%C2%A9%E2%88%86%C2%AC%E2%80%A6%60/test/.tmp.5059/dep.mjs:2\n" +
+ `import subDep from "file:///home/runner/work/node/node/dir%20with%20$unusual%22chars%3F'%C3%A5%C3%9F%E2%88%82%C6%92%C2%A9%E2%88%86%C2%AC%E2%80%A6%60/test/.tmp.5059/sub-dep.mjs";\n` +
+ ' ^^^^^^\n' +
+ "SyntaxError: The requested module 'file:///home/runner/work/node/node/dir%20with%20$unusual%22chars%3F'%C3%A5%C3%9F%E2%88%82%C6%92%C2%A9%E2%88%86%C2%AC%E2%80%A6%60/test/.tmp.5059/sub-dep.mjs' does not provide an export named 'default'\n" +
+ ' at #asyncInstantiate (node:internal/modules/esm/module_job:327:21)\n' +
+ ' at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n' +
+ ' at async ModuleJob.run (node:internal/modules/esm/module_job:431:5)\n' +
+ ' at async node:internal/modules/esm/loader:636:26\n' +
+ ' at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5)\n' +
+ '\n' +
+ 'Node.js v27.0.0-pre\n'
- ''
at TestContext.<anonymous> (file:///home/runner/work/node/node/dir%20with%20$unusual%22chars%3F'%C3%A5%C3%9F%E2%88%82%C6%92%C2%A9%E2%88%86%C2%AC%E2%80%A6%60/test/sequential/test-watch-mode-worker.mjs:272:12)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1313:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:897:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '\n' +
'node:internal/event_target:1118\n' +
' process.nextTick(() => { throw err; });\n' +
' ^\n' +
"file:///home/runner/work/node/node/dir%20with%20$unusual%22chars%3F'%C3%A5%C3%9F%E2%88%82%C6%92%C2%A9%E2%88%86%C2%AC%E2%80%A6%60/test/.tmp.5059/dep.mjs:2\n" +
`import subDep from "file:///home/runner/work/node/node/dir%20with%20$unusual%22chars%3F'%C3%A5%C3%9F%E2%88%82%C6%92%C2%A9%E2%88%86%C2%AC%E2%80%A6%60/test/.tmp.5059/sub-dep.mjs";\n` +
' ^^^^^^\n' +
"SyntaxError: The requested module 'file:///home/runner/work/node/node/dir%20with%20$unusual%22chars%3F'%C3%A5%C3%9F%E2%88%82%C6%92%C2%A9%E2%88%86%C2%AC%E2%80%A6%60/test/.tmp.5059/sub-dep.mjs' does not provide an export named 'default'\n" +
' at #asyncInstantiate (node:internal/modules/esm/module_job:327:21)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n' +
'...',
expected: '',
operator: 'strictEqual',
diff: 'simple'
}
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout "/home/runner/work/node/node/dir%20with $unusual"chars?'Γ₯ΓβΖΒ©βΒ¬β¦`/test/sequential/test-watch-mode-worker.mjs"
|
|
sccache stats - test-linux
67% - 3351 hits, 1621 misses, 0 errors
|
|
sccache stats - test-linux
63% - 3149 hits, 1813 misses, 0 errors
|