lib: include ESM loader in the built-in snapshot #3359
test-shared.yml
on: pull_request
Build slim tarball
2m 34s
Matrix: build
Annotations
40 errors
|
aarch64-linux: with shared libraries:
test/test-runner/test-output-source-mapped-locations.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: fails\n' +
'not ok 1 - fails\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/source_mapped_locations.ts:6:3)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.start (node:internal/test_runner/test:1017:17)\n' +
+ ' startSubtestAfterBootstrap (node:internal/test_runner/harness:358:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
at assertSnapshot (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-source-mapped-locations.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: fails\n' +
'not ok 1 - fails\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/source_mapped_locations.ts:5:1'\n" +
" failureType: 'testCodeFailure'\n" +
' error: |-\n' +
' Expected values to be strictly equal:\n' +
'\n' +
' 1 !== 2\n' +
'\n' +
" code: 'ERR_ASSERTION'\n" +
" name: 'AssertionError'\n" +
' expected: 2\n' +
' actual: 1\n' +
" operator: 'strictEqual'\n" +
' stack: |-\n' +
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/source_mapped_locations.ts:6:3)\n' +
' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
' Test.run (node:internal/test_runner/test:1120:25)\n' +
' Test.start (node:internal/test_runner/test:1017:17)\n' +
' startSubtestAfterBootstrap (node:internal/test_runner/harness:358:17)\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'# Subtest: fails\n' +
'not ok 1 - fails\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/source_mapped_locations.ts:5:1'\n" +
" failureType: 'testCodeFailure'\n" +
' error: |-\n' +
' Expected values to be strictly equal:\n' +
'\n' +
' 1 !== 2\n' +
'\n' +
" code: 'ERR_ASSERTION'\n" +
" name: 'AssertionError'\n" +
' expected: 2\n' +
' actual: 1\n' +
" operator: 'strictEqual'\n" +
' stack: |-\n' +
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/source_mapped_locations.ts:6:3)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-source-mapped-locations.mjs
|
|
aarch64-linux: with shared libraries:
test/test-runner/test-output-hooks.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'- after() called\n' +
'TAP version 13\n' +
'# Subtest: describe hooks\n' +
' # Subtest: 1\n' +
' ok 1 - 1\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:73:24)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Suite.run (node:internal/test_runner/test:1529:18)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: before throws - no subtests\n' +
'not ok 4 - before throws - no subtests\n' +
' ---\n' +
' duration_ms: *\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:79:24)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Suite.run (node:internal/test_runner/test:1529:18)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: after throws\n' +
' # Subtest: 1\n' +
' ok 1 - 1\n' +
' ---\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:84:23)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' node:internal/test_runner/test:1513:38\n' +
+ ' node:internal/util:602:20\n' +
+ ' Suite.run (node:internal/test_runner/test:1536:13)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: after throws - no subtests\n' +
'not ok 6 - after throws - no subtests\n' +
' ---\n' +
' duration_ms: *\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:90:23)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' node:internal/test_runner/test:1513:38\n' +
+ ' node:internal/util:602:20\n' +
+ ' Suite.run (node:internal/test_runner/test:1536:13)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: beforeEach throws\n' +
' # Subtest: 1\n' +
' not ok 1 - 1\n' +
' ---\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:94:28)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1095:27)\n' +
+ ' Test.start (node:internal/test_runner/test:1017:17)
|
|
aarch64-linux: with shared libraries:
test/test-runner/test-output-filtered-suite-throws.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: suite 1\n' +
'not ok 1 - suite 1\n' +
' ---\n' +
' duration_ms: *\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:7:9)\n' +
+ ' Suite.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Suite.createBuild (node:internal/test_runner/test:1495:13)\n' +
+ ' new Suite (node:internal/test_runner/test:1486:28)\n' +
+ ' Test.createSubtest (node:internal/test_runner/test:866:18)\n' +
+ ' run (node:internal/test_runner/harness:364:28)\n' +
+ ' test (node:internal/test_runner/harness:378:12)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:6:1)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/modules/cjs/loader:1942:10)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: suite 2\n' +
' # Subtest: enabled - should get cancelled\n' +
' not ok 1 - enabled - should get cancelled\n' +
' ---\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:14:9)\n' +
+ ' Suite.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Suite.createBuild (node:internal/test_runner/test:1495:13)\n' +
+ ' new Suite (node:internal/test_runner/test:1486:28)\n' +
+ ' Test.createSubtest (node:internal/test_runner/test:866:18)\n' +
+ ' run (node:internal/test_runner/harness:364:28)\n' +
+ ' test (node:internal/test_runner/harness:378:12)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:12:1)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/modules/cjs/loader:1942:10)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..2\n' +
'# tests 1\n' +
'# suites 2\n' +
'# pass 0\n' +
at assertSnapshot (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-filtered-suite-throws.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: suite 1\n' +
'not ok 1 - suite 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:6:1'\n" +
" failureType: 'testCodeFailure'\n" +
" error: 'boom 1'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:7:9)\n' +
' Suite.runInAsyncScope (node:async_hooks:226:14)\n' +
' Suite.createBuild (node:internal/test_runner/test:1495:13)\n' +
' new Suite (node:internal/test_runner/test:1486:28)\n' +
' Test.createSubtest (node:internal/test_runner/test:866:18)\n' +
' run (node:internal/test_runner/harness:364:28)\n' +
' test (node:internal/test_runner/harness:378:12)\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:6:1)\n' +
' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
' Object..js (node:internal/modules/cjs/loader:1942:10)\n' +
' ...\n' +
'# Subtest: suite 2\n' +
' # Subtest: enabled - should get cancelled\n' +
' not ok 1 - enabled - should get cancelled\n' +
' ---\n' +
' du
|
|
aarch64-linux: with shared libraries:
test/test-runner/test-output-global-after-should-fail-the-test.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'this is a test\n' +
'TAP version 13\n' +
'# Subtest: this is a test\n' +
'ok 1 - this is a test\n' +
' ---\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:5:9)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Test.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' after (node:internal/test_runner/test:1078:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1146:13)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
at assertSnapshot (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-global-after-should-fail-the-test.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'this is a test\n' +
'TAP version 13\n' +
'# Subtest: this is a test\n' +
'ok 1 - this is a test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'not ok 2 - <project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js\n' +
' ---\n' +
' duration_ms: *\n' +
" location: '<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:4:1'\n" +
" failureType: 'hookFailed'\n" +
" error: 'this should fail the test'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:5:9)\n' +
' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
' TestHook.run (node:internal/util:602:20)\n' +
' Test.runHook (node:internal/test_runner/test:1038:20)\n' +
' after (node:internal/test_runner/test:1078:20)\n' +
' Test.run (node:internal/test_runner/test:1146:13)\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
expected: 'this is a test\n' +
'TAP version 13\n' +
'# Subtest: this is a test\n' +
'ok 1 - this is a test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'not ok 2 - <project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js\n' +
' ---\n' +
' duration_ms: *\n' +
" location: '<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:4:1'\n" +
" failureType: 'hookFailed'\n" +
" error: 'this should fail the test'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:5:9)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-global-aft
|
|
aarch64-linux: with shared libraries:
test/test-runner/test-output-eval-tap.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: passes\n' +
'ok 1 - passes\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.eval (eval at <anonymous> (<project-root>/test/fixtures/test-runner/output/eval_tap.js:3:1), <anonymous>:6:11)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..2\n' +
'# tests 2\n' +
'# suites 0\n' +
'# pass 1\n' +
at assertSnapshot (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-eval-tap.mjs:7:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: passes\n' +
'ok 1 - passes\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: fails\n' +
'not ok 2 - fails\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" failureType: 'testCodeFailure'\n" +
" error: 'fail'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.eval (eval at <anonymous> (<project-root>/test/fixtures/test-runner/output/eval_tap.js:3:1), <anonymous>:6:11)\n' +
' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
' Test.run (node:internal/test_runner/test:1120:25)\n' +
' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
' Test.run (node:internal/test_runner/test:1177:12)\n' +
' async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)\n' +
' ...\n' +
'1..2\n' +
'# tests 2\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'# Subtest: passes\n' +
'ok 1 - passes\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: fails\n' +
'not ok 2 - fails\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" failureType: 'testCodeFailure'\n" +
" error: 'fail'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.eval (eval at <anonymous> (<project-root>/test/fixtures/test-runner/output/eval_tap.js:3:1), <anonymous>:6:11)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..2\n' +
'# tests 2\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-eval-tap.mjs
|
|
aarch64-linux: with shared libraries:
test/test-runner/test-output-describe-it.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: sync expect fail (method)\n' +
'ok 1 - sync expect fail (method) # EXPECTED FAILURE\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:31:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: sync todo with expect fail\n' +
'ok 8 - sync todo with expect fail # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:39:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: sync skip pass\n' +
'ok 10 - sync skip pass # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:56:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: async skip pass\n' +
'ok 15 - async skip pass # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:69:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: async skip fail\n' +
'not ok 19 - async skip fail # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:79:10)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: resolve pass\n' +
'ok 21 - resolve pass\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:87:25)\n' +
+ ' Test.runInAsyncScope (node:async
|
|
aarch64-linux: with shared libraries:
test/test-runner/test-output-abort-suite.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: describe timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 4\n' +
' not ok 8 - not ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 5\n' +
' not ok 9 - not ok 5\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' 1..9\n' +
'not ok 1 - describe timeout signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:154:9)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
+ ' process.processTimers (node:internal/timers:541:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: describe abort signal\n' +
'not ok 2 - describe abort signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortSignal.abort (node:internal/abort_controller:230:14)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort_suite.js:19:57)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/module
|
|
aarch64-linux: with shared libraries:
test/test-runner/test-output-abort.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: promise timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 4\n' +
' not ok 8 - not ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 5\n' +
' not ok 9 - not ok 5\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' 1..9\n' +
'not ok 1 - promise timeout signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:154:9)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
+ ' process.processTimers (node:internal/timers:541:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: promise abort signal\n' +
'not ok 2 - promise abort signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortSignal.abort (node:internal/abort_controller:230:14)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort.js:21:52)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/modules/cjs/load
|
|
aarch64-linux: with shared libraries:
test/test-runner/test-output-abort-hooks.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'before\n' +
'2.1\n' +
'2.2\n' +
'after\n' +
'beforeEach\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' before.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:8:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Suite.run (node:internal/test_runner/test:1529:18)\n' +
+ ' async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: 2 after describe\n' +
' # Subtest: test 1\n' +
' ok 1 - test 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' after.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:23:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' node:internal/test_runner/test:1513:38\n' +
+ ' node:internal/util:602:20\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: 3 beforeEach describe\n' +
' # Subtest: test 1\n' +
' not ok 1 - test 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' beforeEach.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:38:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1095:27)\n' +
+ ' Test.start (node:internal/test_runner/test:1017:17)\n' +
+ ' node:internal/test_runner/test:1533:71\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: test 2\n' +
' not ok 2 - test 2\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' beforeEach.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:38:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1095:27)\n' +
+ ' Test.start (node:internal/test_runner/test:1017:17)\n' +
+ ' node:internal/test_runner/test:1533:71\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' 1..2\n' +
'not ok 3 - 3 beforeEach describe\n' +
'
|
|
aarch64-linux: with shared libraries:
test/test-runner/test-output-abort-runs-after-hook.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
...
' Immediate.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:12:11)\n' +
+ ' process.processImmediate (node:internal/timers:504:21)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
at assertSnapshot (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-abort-runs-after-hook.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:4:1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' Immediate.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:12:11)\n' +
' process.processImmediate (node:internal/timers:504:21)\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:4:1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' Immediate.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:12:11)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-abort-runs-after-hook.mjs
|
|
x86_64-linux: with shared libraries:
test/test-runner/test-output-source-mapped-locations.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: fails\n' +
'not ok 1 - fails\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/source_mapped_locations.ts:6:3)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.start (node:internal/test_runner/test:1017:17)\n' +
+ ' startSubtestAfterBootstrap (node:internal/test_runner/harness:358:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
at assertSnapshot (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-source-mapped-locations.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: fails\n' +
'not ok 1 - fails\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/source_mapped_locations.ts:5:1'\n" +
" failureType: 'testCodeFailure'\n" +
' error: |-\n' +
' Expected values to be strictly equal:\n' +
'\n' +
' 1 !== 2\n' +
'\n' +
" code: 'ERR_ASSERTION'\n" +
" name: 'AssertionError'\n" +
' expected: 2\n' +
' actual: 1\n' +
" operator: 'strictEqual'\n" +
' stack: |-\n' +
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/source_mapped_locations.ts:6:3)\n' +
' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
' Test.run (node:internal/test_runner/test:1120:25)\n' +
' Test.start (node:internal/test_runner/test:1017:17)\n' +
' startSubtestAfterBootstrap (node:internal/test_runner/harness:358:17)\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'# Subtest: fails\n' +
'not ok 1 - fails\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/source_mapped_locations.ts:5:1'\n" +
" failureType: 'testCodeFailure'\n" +
' error: |-\n' +
' Expected values to be strictly equal:\n' +
'\n' +
' 1 !== 2\n' +
'\n' +
" code: 'ERR_ASSERTION'\n" +
" name: 'AssertionError'\n" +
' expected: 2\n' +
' actual: 1\n' +
" operator: 'strictEqual'\n" +
' stack: |-\n' +
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/source_mapped_locations.ts:6:3)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-source-mapped-locations.mjs
|
|
x86_64-linux: with shared libraries:
test/test-runner/test-output-hooks.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'- after() called\n' +
'TAP version 13\n' +
'# Subtest: describe hooks\n' +
' # Subtest: 1\n' +
' ok 1 - 1\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:73:24)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Suite.run (node:internal/test_runner/test:1529:18)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: before throws - no subtests\n' +
'not ok 4 - before throws - no subtests\n' +
' ---\n' +
' duration_ms: *\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:79:24)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Suite.run (node:internal/test_runner/test:1529:18)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: after throws\n' +
' # Subtest: 1\n' +
' ok 1 - 1\n' +
' ---\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:84:23)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' node:internal/test_runner/test:1513:38\n' +
+ ' node:internal/util:602:20\n' +
+ ' Suite.run (node:internal/test_runner/test:1536:13)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: after throws - no subtests\n' +
'not ok 6 - after throws - no subtests\n' +
' ---\n' +
' duration_ms: *\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:90:23)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' node:internal/test_runner/test:1513:38\n' +
+ ' node:internal/util:602:20\n' +
+ ' Suite.run (node:internal/test_runner/test:1536:13)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: beforeEach throws\n' +
' # Subtest: 1\n' +
' not ok 1 - 1\n' +
' ---\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:94:28)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1095:27)\n' +
+ ' Test.start (node:internal/test_runner/test:1017:17)
|
|
x86_64-linux: with shared libraries:
test/test-runner/test-output-filtered-suite-throws.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: suite 1\n' +
'not ok 1 - suite 1\n' +
' ---\n' +
' duration_ms: *\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:7:9)\n' +
+ ' Suite.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Suite.createBuild (node:internal/test_runner/test:1495:13)\n' +
+ ' new Suite (node:internal/test_runner/test:1486:28)\n' +
+ ' Test.createSubtest (node:internal/test_runner/test:866:18)\n' +
+ ' run (node:internal/test_runner/harness:364:28)\n' +
+ ' test (node:internal/test_runner/harness:378:12)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:6:1)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/modules/cjs/loader:1942:10)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: suite 2\n' +
' # Subtest: enabled - should get cancelled\n' +
' not ok 1 - enabled - should get cancelled\n' +
' ---\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:14:9)\n' +
+ ' Suite.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Suite.createBuild (node:internal/test_runner/test:1495:13)\n' +
+ ' new Suite (node:internal/test_runner/test:1486:28)\n' +
+ ' Test.createSubtest (node:internal/test_runner/test:866:18)\n' +
+ ' run (node:internal/test_runner/harness:364:28)\n' +
+ ' test (node:internal/test_runner/harness:378:12)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:12:1)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/modules/cjs/loader:1942:10)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..2\n' +
'# tests 1\n' +
'# suites 2\n' +
'# pass 0\n' +
at assertSnapshot (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-filtered-suite-throws.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: suite 1\n' +
'not ok 1 - suite 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:6:1'\n" +
" failureType: 'testCodeFailure'\n" +
" error: 'boom 1'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:7:9)\n' +
' Suite.runInAsyncScope (node:async_hooks:226:14)\n' +
' Suite.createBuild (node:internal/test_runner/test:1495:13)\n' +
' new Suite (node:internal/test_runner/test:1486:28)\n' +
' Test.createSubtest (node:internal/test_runner/test:866:18)\n' +
' run (node:internal/test_runner/harness:364:28)\n' +
' test (node:internal/test_runner/harness:378:12)\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:6:1)\n' +
' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
' Object..js (node:internal/modules/cjs/loader:1942:10)\n' +
' ...\n' +
'# Subtest: suite 2\n' +
' # Subtest: enabled - should get cancelled\n' +
' not ok 1 - enabled - should get cancelled\n' +
' ---\n' +
' du
|
|
x86_64-linux: with shared libraries:
test/test-runner/test-output-global-after-should-fail-the-test.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'this is a test\n' +
'TAP version 13\n' +
'# Subtest: this is a test\n' +
'ok 1 - this is a test\n' +
' ---\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:5:9)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Test.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' after (node:internal/test_runner/test:1078:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1146:13)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
at assertSnapshot (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-global-after-should-fail-the-test.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'this is a test\n' +
'TAP version 13\n' +
'# Subtest: this is a test\n' +
'ok 1 - this is a test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'not ok 2 - <project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js\n' +
' ---\n' +
' duration_ms: *\n' +
" location: '<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:4:1'\n" +
" failureType: 'hookFailed'\n" +
" error: 'this should fail the test'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:5:9)\n' +
' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
' TestHook.run (node:internal/util:602:20)\n' +
' Test.runHook (node:internal/test_runner/test:1038:20)\n' +
' after (node:internal/test_runner/test:1078:20)\n' +
' Test.run (node:internal/test_runner/test:1146:13)\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
expected: 'this is a test\n' +
'TAP version 13\n' +
'# Subtest: this is a test\n' +
'ok 1 - this is a test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'not ok 2 - <project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js\n' +
' ---\n' +
' duration_ms: *\n' +
" location: '<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:4:1'\n" +
" failureType: 'hookFailed'\n" +
" error: 'this should fail the test'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:5:9)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-global-aft
|
|
x86_64-linux: with shared libraries:
test/test-runner/test-output-describe-it.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: sync expect fail (method)\n' +
'ok 1 - sync expect fail (method) # EXPECTED FAILURE\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:31:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: sync todo with expect fail\n' +
'ok 8 - sync todo with expect fail # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:39:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: sync skip pass\n' +
'ok 10 - sync skip pass # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:56:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: async skip pass\n' +
'ok 15 - async skip pass # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:69:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: async skip fail\n' +
'not ok 19 - async skip fail # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:79:10)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: resolve pass\n' +
'ok 21 - resolve pass\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:87:25)\n' +
+ ' Test.runInAsyncScope (node:async
|
|
x86_64-linux: with shared libraries:
test/test-runner/test-output-eval-tap.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: passes\n' +
'ok 1 - passes\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.eval (eval at <anonymous> (<project-root>/test/fixtures/test-runner/output/eval_tap.js:3:1), <anonymous>:6:11)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..2\n' +
'# tests 2\n' +
'# suites 0\n' +
'# pass 1\n' +
at assertSnapshot (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-eval-tap.mjs:7:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: passes\n' +
'ok 1 - passes\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: fails\n' +
'not ok 2 - fails\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" failureType: 'testCodeFailure'\n" +
" error: 'fail'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.eval (eval at <anonymous> (<project-root>/test/fixtures/test-runner/output/eval_tap.js:3:1), <anonymous>:6:11)\n' +
' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
' Test.run (node:internal/test_runner/test:1120:25)\n' +
' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
' Test.run (node:internal/test_runner/test:1177:12)\n' +
' async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)\n' +
' ...\n' +
'1..2\n' +
'# tests 2\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'# Subtest: passes\n' +
'ok 1 - passes\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: fails\n' +
'not ok 2 - fails\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" failureType: 'testCodeFailure'\n" +
" error: 'fail'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.eval (eval at <anonymous> (<project-root>/test/fixtures/test-runner/output/eval_tap.js:3:1), <anonymous>:6:11)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..2\n' +
'# tests 2\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-eval-tap.mjs
|
|
x86_64-linux: with shared libraries:
test/test-runner/test-output-abort-suite.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: describe timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 4\n' +
' not ok 8 - not ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 5\n' +
' not ok 9 - not ok 5\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' 1..9\n' +
'not ok 1 - describe timeout signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:154:9)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
+ ' process.processTimers (node:internal/timers:541:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: describe abort signal\n' +
'not ok 2 - describe abort signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortSignal.abort (node:internal/abort_controller:230:14)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort_suite.js:19:57)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/module
|
|
x86_64-linux: with shared libraries:
test/test-runner/test-output-abort.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: promise timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 4\n' +
' not ok 8 - not ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 5\n' +
' not ok 9 - not ok 5\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' 1..9\n' +
'not ok 1 - promise timeout signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:154:9)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
+ ' process.processTimers (node:internal/timers:541:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: promise abort signal\n' +
'not ok 2 - promise abort signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortSignal.abort (node:internal/abort_controller:230:14)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort.js:21:52)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/modules/cjs/load
|
|
x86_64-linux: with shared libraries:
test/test-runner/test-output-abort-hooks.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'before\n' +
'2.1\n' +
'2.2\n' +
'after\n' +
'beforeEach\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' before.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:8:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Suite.run (node:internal/test_runner/test:1529:18)\n' +
+ ' async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: 2 after describe\n' +
' # Subtest: test 1\n' +
' ok 1 - test 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' after.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:23:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' node:internal/test_runner/test:1513:38\n' +
+ ' node:internal/util:602:20\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: 3 beforeEach describe\n' +
' # Subtest: test 1\n' +
' not ok 1 - test 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' beforeEach.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:38:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1095:27)\n' +
+ ' Test.start (node:internal/test_runner/test:1017:17)\n' +
+ ' node:internal/test_runner/test:1533:71\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: test 2\n' +
' not ok 2 - test 2\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' beforeEach.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:38:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1095:27)\n' +
+ ' Test.start (node:internal/test_runner/test:1017:17)\n' +
+ ' node:internal/test_runner/test:1533:71\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' 1..2\n' +
'not ok 3 - 3 beforeEach describe\n' +
'
|
|
x86_64-linux: with shared libraries:
test/test-runner/test-output-abort-runs-after-hook.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
...
' Immediate.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:12:11)\n' +
+ ' process.processImmediate (node:internal/timers:504:21)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
at assertSnapshot (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-abort-runs-after-hook.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:4:1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' Immediate.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:12:11)\n' +
' process.processImmediate (node:internal/timers:504:21)\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:4:1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' Immediate.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:12:11)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-abort-runs-after-hook.mjs
|
|
aarch64-darwin: with shared libraries:
test/test-runner/test-output-output.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: sync expect fail (method)\n' +
'ok 1 - sync expect fail (method) # EXPECTED FAILURE\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/output.js:42:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: sync fail todo with message\n' +
'not ok 10 - sync fail todo with message # TODO this is a failing todo\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/output.js:47:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: sync skip pass\n' +
'ok 11 - sync skip pass # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/output.js:63:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: async skip pass\n' +
'ok 15 - async skip pass # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/output.js:75:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: async skip fail\n' +
'not ok 18 - async skip fail # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/output.js:80:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: async assertion fail\n' +
'not ok 19 - async assertion fail\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/output.js:85:10)\n' +
+ ' Test.runInAsy
|
|
aarch64-darwin: with shared libraries:
test/test-runner/test-output-hooks.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'- after() called\n' +
'TAP version 13\n' +
'# Subtest: describe hooks\n' +
' # Subtest: 1\n' +
' ok 1 - 1\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:73:24)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Suite.run (node:internal/test_runner/test:1529:18)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: before throws - no subtests\n' +
'not ok 4 - before throws - no subtests\n' +
' ---\n' +
' duration_ms: *\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:79:24)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Suite.run (node:internal/test_runner/test:1529:18)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: after throws\n' +
' # Subtest: 1\n' +
' ok 1 - 1\n' +
' ---\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:84:23)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' node:internal/test_runner/test:1513:38\n' +
+ ' node:internal/util:602:20\n' +
+ ' Suite.run (node:internal/test_runner/test:1536:13)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: after throws - no subtests\n' +
'not ok 6 - after throws - no subtests\n' +
' ---\n' +
' duration_ms: *\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:90:23)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' node:internal/test_runner/test:1513:38\n' +
+ ' node:internal/util:602:20\n' +
+ ' Suite.run (node:internal/test_runner/test:1536:13)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: beforeEach throws\n' +
' # Subtest: 1\n' +
' not ok 1 - 1\n' +
' ---\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:94:28)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1095:27)\n' +
+ ' Test.start (node:internal/test_runner/test:1017:17)
|
|
aarch64-darwin: with shared libraries:
test/test-runner/test-output-global-after-should-fail-the-test.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'this is a test\n' +
'TAP version 13\n' +
'# Subtest: this is a test\n' +
'ok 1 - this is a test\n' +
' ---\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:5:9)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Test.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' after (node:internal/test_runner/test:1078:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1146:13)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
at assertSnapshot (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-global-after-should-fail-the-test.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'this is a test\n' +
'TAP version 13\n' +
'# Subtest: this is a test\n' +
'ok 1 - this is a test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'not ok 2 - <project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js\n' +
' ---\n' +
' duration_ms: *\n' +
" location: '<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:4:1'\n" +
" failureType: 'hookFailed'\n" +
" error: 'this should fail the test'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:5:9)\n' +
' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
' TestHook.run (node:internal/util:602:20)\n' +
' Test.runHook (node:internal/test_runner/test:1038:20)\n' +
' after (node:internal/test_runner/test:1078:20)\n' +
' Test.run (node:internal/test_runner/test:1146:13)\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
expected: 'this is a test\n' +
'TAP version 13\n' +
'# Subtest: this is a test\n' +
'ok 1 - this is a test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'not ok 2 - <project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js\n' +
' ---\n' +
' duration_ms: *\n' +
" location: '<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:4:1'\n" +
" failureType: 'hookFailed'\n" +
" error: 'this should fail the test'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:5:9)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-global
|
|
aarch64-darwin: with shared libraries:
test/test-runner/test-output-filtered-suite-throws.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: suite 1\n' +
'not ok 1 - suite 1\n' +
' ---\n' +
' duration_ms: *\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:7:9)\n' +
+ ' Suite.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Suite.createBuild (node:internal/test_runner/test:1495:13)\n' +
+ ' new Suite (node:internal/test_runner/test:1486:28)\n' +
+ ' Test.createSubtest (node:internal/test_runner/test:866:18)\n' +
+ ' run (node:internal/test_runner/harness:364:28)\n' +
+ ' test (node:internal/test_runner/harness:378:12)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:6:1)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/modules/cjs/loader:1942:10)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: suite 2\n' +
' # Subtest: enabled - should get cancelled\n' +
' not ok 1 - enabled - should get cancelled\n' +
' ---\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:14:9)\n' +
+ ' Suite.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Suite.createBuild (node:internal/test_runner/test:1495:13)\n' +
+ ' new Suite (node:internal/test_runner/test:1486:28)\n' +
+ ' Test.createSubtest (node:internal/test_runner/test:866:18)\n' +
+ ' run (node:internal/test_runner/harness:364:28)\n' +
+ ' test (node:internal/test_runner/harness:378:12)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:12:1)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/modules/cjs/loader:1942:10)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..2\n' +
'# tests 1\n' +
'# suites 2\n' +
'# pass 0\n' +
at assertSnapshot (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-filtered-suite-throws.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: suite 1\n' +
'not ok 1 - suite 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:6:1'\n" +
" failureType: 'testCodeFailure'\n" +
" error: 'boom 1'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:7:9)\n' +
' Suite.runInAsyncScope (node:async_hooks:226:14)\n' +
' Suite.createBuild (node:internal/test_runner/test:1495:13)\n' +
' new Suite (node:internal/test_runner/test:1486:28)\n' +
' Test.createSubtest (node:internal/test_runner/test:866:18)\n' +
' run (node:internal/test_runner/harness:364:28)\n' +
' test (node:internal/test_runner/harness:378:12)\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:6:1)\n' +
' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
' Object..js (node:internal/modules/cjs/loader:1942:10)\n' +
' ...\n' +
'# Subtest: suite 2\n' +
' # Subtest: enabled - should get cancelled\n' +
' not ok 1 - enabled - should get cancelled\n' +
' ---\n' +
'
|
|
aarch64-darwin: with shared libraries:
test/test-runner/test-output-describe-it.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: sync expect fail (method)\n' +
'ok 1 - sync expect fail (method) # EXPECTED FAILURE\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:31:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: sync todo with expect fail\n' +
'ok 8 - sync todo with expect fail # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:39:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: sync skip pass\n' +
'ok 10 - sync skip pass # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:56:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: async skip pass\n' +
'ok 15 - async skip pass # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:69:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: async skip fail\n' +
'not ok 19 - async skip fail # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:79:10)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: resolve pass\n' +
'ok 21 - resolve pass\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:87:25)\n' +
+ ' Test.runInAsyncScope (node:async
|
|
aarch64-darwin: with shared libraries:
test/test-runner/test-output-eval-tap.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: passes\n' +
'ok 1 - passes\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.eval (eval at <anonymous> (<project-root>/test/fixtures/test-runner/output/eval_tap.js:3:1), <anonymous>:6:11)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..2\n' +
'# tests 2\n' +
'# suites 0\n' +
'# pass 1\n' +
at assertSnapshot (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-eval-tap.mjs:7:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: passes\n' +
'ok 1 - passes\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: fails\n' +
'not ok 2 - fails\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" failureType: 'testCodeFailure'\n" +
" error: 'fail'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.eval (eval at <anonymous> (<project-root>/test/fixtures/test-runner/output/eval_tap.js:3:1), <anonymous>:6:11)\n' +
' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
' Test.run (node:internal/test_runner/test:1120:25)\n' +
' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
' Test.run (node:internal/test_runner/test:1177:12)\n' +
' async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)\n' +
' ...\n' +
'1..2\n' +
'# tests 2\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'# Subtest: passes\n' +
'ok 1 - passes\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: fails\n' +
'not ok 2 - fails\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" failureType: 'testCodeFailure'\n" +
" error: 'fail'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.eval (eval at <anonymous> (<project-root>/test/fixtures/test-runner/output/eval_tap.js:3:1), <anonymous>:6:11)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..2\n' +
'# tests 2\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-eval-tap.mjs
|
|
aarch64-darwin: with shared libraries:
test/test-runner/test-output-abort-suite.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: describe timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 4\n' +
' not ok 8 - not ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 5\n' +
' not ok 9 - not ok 5\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' 1..9\n' +
'not ok 1 - describe timeout signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:154:9)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
+ ' process.processTimers (node:internal/timers:541:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: describe abort signal\n' +
'not ok 2 - describe abort signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortSignal.abort (node:internal/abort_controller:230:14)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort_suite.js:19:57)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/module
|
|
aarch64-darwin: with shared libraries:
test/test-runner/test-output-abort.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: promise timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 4\n' +
' not ok 8 - not ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 5\n' +
' not ok 9 - not ok 5\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' 1..9\n' +
'not ok 1 - promise timeout signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:154:9)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
+ ' process.processTimers (node:internal/timers:541:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: promise abort signal\n' +
'not ok 2 - promise abort signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortSignal.abort (node:internal/abort_controller:230:14)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort.js:21:52)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/modules/cjs/load
|
|
aarch64-darwin: with shared libraries:
test/test-runner/test-output-abort-hooks.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'before\n' +
'2.1\n' +
'2.2\n' +
'after\n' +
'beforeEach\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' before.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:8:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Suite.run (node:internal/test_runner/test:1529:18)\n' +
+ ' async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: 2 after describe\n' +
' # Subtest: test 1\n' +
' ok 1 - test 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' after.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:23:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' node:internal/test_runner/test:1513:38\n' +
+ ' node:internal/util:602:20\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: 3 beforeEach describe\n' +
' # Subtest: test 1\n' +
' not ok 1 - test 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' beforeEach.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:38:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1095:27)\n' +
+ ' Test.start (node:internal/test_runner/test:1017:17)\n' +
+ ' node:internal/test_runner/test:1533:71\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: test 2\n' +
' not ok 2 - test 2\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' beforeEach.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:38:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1095:27)\n' +
+ ' Test.start (node:internal/test_runner/test:1017:17)\n' +
+ ' node:internal/test_runner/test:1533:71\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' 1..2\n' +
'not ok 3 - 3 beforeEach describe\n' +
'
|
|
aarch64-darwin: with shared libraries:
test/test-runner/test-output-abort-runs-after-hook.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
...
' Immediate.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:12:11)\n' +
+ ' process.processImmediate (node:internal/timers:504:21)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
at assertSnapshot (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-abort-runs-after-hook.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:4:1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' Immediate.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:12:11)\n' +
' process.processImmediate (node:internal/timers:504:21)\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:4:1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' Immediate.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:12:11)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-abort-runs-after-hook.mjs
|
|
x86_64-darwin: with shared libraries:
test/test-runner/test-output-output.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: sync expect fail (method)\n' +
'ok 1 - sync expect fail (method) # EXPECTED FAILURE\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/output.js:42:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: sync fail todo with message\n' +
'not ok 10 - sync fail todo with message # TODO this is a failing todo\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/output.js:47:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: sync skip pass\n' +
'ok 11 - sync skip pass # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/output.js:63:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: async skip pass\n' +
'ok 15 - async skip pass # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/output.js:75:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: async skip fail\n' +
'not ok 18 - async skip fail # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/output.js:80:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: async assertion fail\n' +
'not ok 19 - async assertion fail\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/output.js:85:10)\n' +
+ ' Test.runInAsy
|
|
x86_64-darwin: with shared libraries:
test/test-runner/test-output-hooks.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'- after() called\n' +
'TAP version 13\n' +
'# Subtest: describe hooks\n' +
' # Subtest: 1\n' +
' ok 1 - 1\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:73:24)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Suite.run (node:internal/test_runner/test:1529:18)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: before throws - no subtests\n' +
'not ok 4 - before throws - no subtests\n' +
' ---\n' +
' duration_ms: *\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:79:24)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Suite.run (node:internal/test_runner/test:1529:18)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: after throws\n' +
' # Subtest: 1\n' +
' ok 1 - 1\n' +
' ---\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:84:23)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' node:internal/test_runner/test:1513:38\n' +
+ ' node:internal/util:602:20\n' +
+ ' Suite.run (node:internal/test_runner/test:1536:13)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: after throws - no subtests\n' +
'not ok 6 - after throws - no subtests\n' +
' ---\n' +
' duration_ms: *\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:90:23)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' node:internal/test_runner/test:1513:38\n' +
+ ' node:internal/util:602:20\n' +
+ ' Suite.run (node:internal/test_runner/test:1536:13)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: beforeEach throws\n' +
' # Subtest: 1\n' +
' not ok 1 - 1\n' +
' ---\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/hooks.js:94:28)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1095:27)\n' +
+ ' Test.start (node:internal/test_runner/test:1017:17)
|
|
x86_64-darwin: with shared libraries:
test/test-runner/test-output-global-after-should-fail-the-test.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'this is a test\n' +
'TAP version 13\n' +
'# Subtest: this is a test\n' +
'ok 1 - this is a test\n' +
' ---\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:5:9)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Test.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' after (node:internal/test_runner/test:1078:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1146:13)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
at assertSnapshot (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-global-after-should-fail-the-test.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'this is a test\n' +
'TAP version 13\n' +
'# Subtest: this is a test\n' +
'ok 1 - this is a test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'not ok 2 - <project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js\n' +
' ---\n' +
' duration_ms: *\n' +
" location: '<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:4:1'\n" +
" failureType: 'hookFailed'\n" +
" error: 'this should fail the test'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:5:9)\n' +
' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
' TestHook.run (node:internal/util:602:20)\n' +
' Test.runHook (node:internal/test_runner/test:1038:20)\n' +
' after (node:internal/test_runner/test:1078:20)\n' +
' Test.run (node:internal/test_runner/test:1146:13)\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
expected: 'this is a test\n' +
'TAP version 13\n' +
'# Subtest: this is a test\n' +
'ok 1 - this is a test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'not ok 2 - <project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js\n' +
' ---\n' +
' duration_ms: *\n' +
" location: '<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:4:1'\n" +
" failureType: 'hookFailed'\n" +
" error: 'this should fail the test'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/global_after_should_fail_the_test.js:5:9)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-global
|
|
x86_64-darwin: with shared libraries:
test/test-runner/test-output-filtered-suite-throws.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: suite 1\n' +
'not ok 1 - suite 1\n' +
' ---\n' +
' duration_ms: *\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:7:9)\n' +
+ ' Suite.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Suite.createBuild (node:internal/test_runner/test:1495:13)\n' +
+ ' new Suite (node:internal/test_runner/test:1486:28)\n' +
+ ' Test.createSubtest (node:internal/test_runner/test:866:18)\n' +
+ ' run (node:internal/test_runner/harness:364:28)\n' +
+ ' test (node:internal/test_runner/harness:378:12)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:6:1)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/modules/cjs/loader:1942:10)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: suite 2\n' +
' # Subtest: enabled - should get cancelled\n' +
' not ok 1 - enabled - should get cancelled\n' +
' ---\n' +
...
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:14:9)\n' +
+ ' Suite.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Suite.createBuild (node:internal/test_runner/test:1495:13)\n' +
+ ' new Suite (node:internal/test_runner/test:1486:28)\n' +
+ ' Test.createSubtest (node:internal/test_runner/test:866:18)\n' +
+ ' run (node:internal/test_runner/harness:364:28)\n' +
+ ' test (node:internal/test_runner/harness:378:12)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:12:1)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/modules/cjs/loader:1942:10)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..2\n' +
'# tests 1\n' +
'# suites 2\n' +
'# pass 0\n' +
at assertSnapshot (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-filtered-suite-throws.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: suite 1\n' +
'not ok 1 - suite 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:6:1'\n" +
" failureType: 'testCodeFailure'\n" +
" error: 'boom 1'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' SuiteContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:7:9)\n' +
' Suite.runInAsyncScope (node:async_hooks:226:14)\n' +
' Suite.createBuild (node:internal/test_runner/test:1495:13)\n' +
' new Suite (node:internal/test_runner/test:1486:28)\n' +
' Test.createSubtest (node:internal/test_runner/test:866:18)\n' +
' run (node:internal/test_runner/harness:364:28)\n' +
' test (node:internal/test_runner/harness:378:12)\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/filtered-suite-throws.js:6:1)\n' +
' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
' Object..js (node:internal/modules/cjs/loader:1942:10)\n' +
' ...\n' +
'# Subtest: suite 2\n' +
' # Subtest: enabled - should get cancelled\n' +
' not ok 1 - enabled - should get cancelled\n' +
' ---\n' +
'
|
|
x86_64-darwin: with shared libraries:
test/test-runner/test-output-eval-tap.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: passes\n' +
'ok 1 - passes\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.eval (eval at <anonymous> (<project-root>/test/fixtures/test-runner/output/eval_tap.js:3:1), <anonymous>:6:11)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..2\n' +
'# tests 2\n' +
'# suites 0\n' +
'# pass 1\n' +
at assertSnapshot (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-eval-tap.mjs:7:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: passes\n' +
'ok 1 - passes\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: fails\n' +
'not ok 2 - fails\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" failureType: 'testCodeFailure'\n" +
" error: 'fail'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.eval (eval at <anonymous> (<project-root>/test/fixtures/test-runner/output/eval_tap.js:3:1), <anonymous>:6:11)\n' +
' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
' Test.run (node:internal/test_runner/test:1120:25)\n' +
' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
' Test.run (node:internal/test_runner/test:1177:12)\n' +
' async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)\n' +
' ...\n' +
'1..2\n' +
'# tests 2\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'# Subtest: passes\n' +
'ok 1 - passes\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: fails\n' +
'not ok 2 - fails\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" failureType: 'testCodeFailure'\n" +
" error: 'fail'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' TestContext.eval (eval at <anonymous> (<project-root>/test/fixtures/test-runner/output/eval_tap.js:3:1), <anonymous>:6:11)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..2\n' +
'# tests 2\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-eval-tap.mjs
|
|
x86_64-darwin: with shared libraries:
test/test-runner/test-output-describe-it.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: sync expect fail (method)\n' +
'ok 1 - sync expect fail (method) # EXPECTED FAILURE\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:31:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: sync todo with expect fail\n' +
'ok 8 - sync todo with expect fail # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:39:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: sync skip pass\n' +
'ok 10 - sync skip pass # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:56:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: async skip pass\n' +
'ok 15 - async skip pass # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:69:9)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: async skip fail\n' +
'not ok 19 - async skip fail # SKIP\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:79:10)\n' +
+ ' Test.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' Test.run (node:internal/test_runner/test:1120:25)\n' +
+ ' Test.processPendingSubtests (node:internal/test_runner/test:789:18)\n' +
+ ' Test.postRun (node:internal/test_runner/test:1249:19)\n' +
+ ' Test.run (node:internal/test_runner/test:1177:12)\n' +
+ ' async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: resolve pass\n' +
'ok 21 - resolve pass\n' +
' ---\n' +
' duration_ms: *\n' +
...
' TestContext.<anonymous> (<project-root>/test/fixtures/test-runner/output/describe_it.js:87:25)\n' +
+ ' Test.runInAsyncScope (node:async
|
|
x86_64-darwin: with shared libraries:
test/test-runner/test-output-abort-suite.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: describe timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 4\n' +
' not ok 8 - not ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 5\n' +
' not ok 9 - not ok 5\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' 1..9\n' +
'not ok 1 - describe timeout signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:154:9)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
+ ' process.processTimers (node:internal/timers:541:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: describe abort signal\n' +
'not ok 2 - describe abort signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortSignal.abort (node:internal/abort_controller:230:14)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort_suite.js:19:57)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/module
|
|
x86_64-darwin: with shared libraries:
test/test-runner/test-output-abort.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: promise timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 4\n' +
' not ok 8 - not ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 5\n' +
' not ok 9 - not ok 5\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
+ ' #cancel (node:internal/test_runner/test:904:26)\n' +
+ ' #abortHandler (node:internal/test_runner/test:889:17)\n' +
+ ' [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)\n' +
+ ' AbortSignal.dispatchEvent (node:internal/event_target:776:26)\n' +
+ ' runAbort (node:internal/abort_controller:488:10)\n' +
+ ' abortSignal (node:internal/abort_controller:459:3)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:152:7)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' 1..9\n' +
'not ok 1 - promise timeout signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' Timeout._onTimeout (node:internal/abort_controller:154:9)\n' +
+ ' listOnTimeout (node:internal/timers:605:17)\n' +
+ ' process.processTimers (node:internal/timers:541:7)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: promise abort signal\n' +
'not ok 2 - promise abort signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortSignal.abort (node:internal/abort_controller:230:14)\n' +
- ' <node-internal-frames>\n' +
' Object.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort.js:21:52)\n' +
+ ' Module._compile (node:internal/modules/cjs/loader:1811:14)\n' +
+ ' Object..js (node:internal/modules/cjs/load
|
|
x86_64-darwin: with shared libraries:
test/test-runner/test-output-abort-runs-after-hook.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
...
' Immediate.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:12:11)\n' +
+ ' process.processImmediate (node:internal/timers:504:21)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
at assertSnapshot (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/common/assertSnapshot.js:208:3)
at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-abort-runs-after-hook.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:4:1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' Immediate.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:12:11)\n' +
' process.processImmediate (node:internal/timers:504:21)\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:4:1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' Immediate.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:12:11)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-02-131860662800-slim/test/test-runner/test-output-abort-runs-after-hook.mjs
|
|
x86_64-darwin: with shared libraries:
test/test-runner/test-output-abort-hooks.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'before\n' +
'2.1\n' +
'2.2\n' +
'after\n' +
'beforeEach\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' before.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:8:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Suite.run (node:internal/test_runner/test:1529:18)\n' +
+ ' async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: 2 after describe\n' +
' # Subtest: test 1\n' +
' ok 1 - test 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' after.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:23:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' TestHook.run (node:internal/util:602:20)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' node:internal/test_runner/test:1513:38\n' +
+ ' node:internal/util:602:20\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: 3 beforeEach describe\n' +
' # Subtest: test 1\n' +
' not ok 1 - test 1\n' +
' ---\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' beforeEach.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:38:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1095:27)\n' +
+ ' Test.start (node:internal/test_runner/test:1017:17)\n' +
+ ' node:internal/test_runner/test:1533:71\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: test 2\n' +
' not ok 2 - test 2\n' +
' ---\n' +
' duration_ms: *\n' +
...
' stack: |-\n' +
+ ' new DOMException (node:internal/per_context/domexception:76:18)\n' +
+ ' AbortController.abort (node:internal/abort_controller:506:18)\n' +
- ' <node-internal-frames>\n' +
' beforeEach.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:38:8)\n' +
+ ' TestHook.runInAsyncScope (node:async_hooks:226:14)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1120:25)\n' +
+ ' TestHook.run (node:internal/test_runner/test:1444:18)\n' +
+ ' Suite.runHook (node:internal/test_runner/test:1038:20)\n' +
+ ' Test.run (node:internal/test_runner/test:1095:27)\n' +
+ ' Test.start (node:internal/test_runner/test:1017:17)\n' +
+ ' node:internal/test_runner/test:1533:71\n' +
- ' <node-internal-frames>\n' +
' ...\n' +
' 1..2\n' +
'not ok 3 - 3 beforeEach describe\n' +
'
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
tarballs
|
47.8 MB |
sha256:3ddb25c13b3fc3bd6b2162e7e169162d9ff4b9a69a5b995b137c0aec60739284
|
|