Skip to content

module: do not set CJS variables for Worker eval #47268

module: do not set CJS variables for Worker eval

module: do not set CJS variables for Worker eval #47268

Triggered via pull request May 19, 2024 20:51
Status Failure
Total duration 2h 0m 45s
Artifacts

test-asan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
test-asan: test/es-module/test-esm-detect-ambiguous.mjs#L55
--- stdout --- β–Ά --experimental-detect-module β–Ά string input βœ” permits ESM syntax in --eval input without requiring --input-type=module (171.877837ms) ::debug::starting to run --experimental-detect-module ::debug::starting to run string input ::debug::starting to run permits ESM syntax in --eval input without requiring --input-type=module ::debug::completed running permits ESM syntax in --eval input without requiring --input-type=module βœ” permits ESM syntax in STDIN input without requiring --input-type=module (204.083217ms) ::debug::starting to run permits ESM syntax in STDIN input without requiring --input-type=module ::debug::completed running permits ESM syntax in STDIN input without requiring --input-type=module βœ” should be overridden by --input-type (166.592274ms) ::debug::starting to run should be overridden by --input-type ::debug::completed running should be overridden by --input-type βœ– should not switch to module if code is parsable as script (124.824144ms) AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'undefined\n' - '' at TestContext.<anonymous> (file:///home/runner/work/node/node/test/es-module/test-esm-detect-ambiguous.mjs:55:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:825:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:533:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined\n', expected: '', operator: 'strictEqual' } ::debug::starting to run should not switch to module if code is parsable as script ::error title=should not switch to module if code is parsable as script,file=test/es-module/test-esm-detect-ambiguous.mjs,line=55,col=7::[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'undefined\n' - ''] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'undefined\n' - '' at TestContext.<anonymous> (file:///home/runner/work/node/node/test/es-module/test-esm-detect-ambiguous.mjs:55:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:825:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:533:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined\n', expected: '', operator: 'strictEqual' } } βœ” should be overridden by --experimental-default-type (104.472328ms) ::debug::starting to run should be overridden by --experimental-default-type ::debug::completed running should be overridden by --experimental-default-type βœ” does not trigger detection via source code `eval()` (160.345671ms) β–Ά string input (943.565535ms) ::debug::starting to run does not trigger detection via source code `eval()` ::debug::completed running does not trigger detection via source code `eval()` β–Ά .js file input in a typeless package βœ” permits CommonJS syntax in a .js entry point (159.954966ms) ::debug::starting to run .js file input in a typeless package ::debug::starting to run permits CommonJS syntax in a .js entry point ::debug::completed running permits CommonJS syntax in a .js entry point βœ” permits ESM syntax in a .js entry point (161.676619ms) ::debug::starting to run permits ESM syntax in a .js entry point ::debug::completed running permits ESM syntax in a .js entry point βœ” permits CommonJS syntax in a .js file imported by a CommonJS entry point (260.828094ms) ::debug::starting to run permits CommonJS syntax in a .js file imported by a CommonJS entry point ::debug::completed running permits CommonJS syntax in a .js file imported by a CommonJS entry point βœ” permits ESM syntax in a .js file imported by a CommonJS entry point (167.875543ms) ::debug::starting to run permits ESM syntax in a
test-asan
Process completed with exit code 2.