test: treat tests without a callback as todo #93764
Annotations
20 errors and 2 notices
|
test-linux (ubuntu-24.04-arm):
test/test-runner/test-output-before-and-after-each-with-timeout-too-many-listeners.mjs#L0
--- stderr ---
node:internal/modules/run_main:111
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
'TAP version 13\n' +
'# Subtest: 1\n' +
+ 'ok 1 - 1 # TODO\n' +
- 'ok 1 - 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 2\n' +
+ 'ok 2 - 2 # TODO\n' +
- 'ok 2 - 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 3\n' +
+ 'ok 3 - 3 # TODO\n' +
- 'ok 3 - 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 4\n' +
+ 'ok 4 - 4 # TODO\n' +
- 'ok 4 - 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 5\n' +
+ 'ok 5 - 5 # TODO\n' +
- 'ok 5 - 5\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 6\n' +
+ 'ok 6 - 6 # TODO\n' +
- 'ok 6 - 6\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 7\n' +
+ 'ok 7 - 7 # TODO\n' +
- 'ok 7 - 7\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 8\n' +
+ 'ok 8 - 8 # TODO\n' +
- 'ok 8 - 8\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 9\n' +
+ 'ok 9 - 9 # TODO\n' +
- 'ok 9 - 9\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 10\n' +
+ 'ok 10 - 10 # TODO\n' +
- 'ok 10 - 10\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 11\n' +
+ 'ok 11 - 11 # TODO\n' +
- 'ok 11 - 11\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..11\n' +
'# tests 11\n' +
'# suites 0\n' +
+ '# pass 0\n' +
- '# pass 11\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
+ '# todo 11\n' +
- '# todo 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-before-and-after-each-with-timeout-too-many-listeners.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: 1\n' +
'ok 1 - 1 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 2\n' +
'ok 2 - 2 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 3\n' +
'ok 3 - 3 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 4\n' +
'ok 4 - 4 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 5\n' +
'ok 5 - 5 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 6\n' +
'ok 6 - 6 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 7\n' +
'ok 7 - 7 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 8\n' +
'ok 8 - 8 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 9\n' +
'ok 9 - 9 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 10\n' +
'ok 10 - 10 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 11\n' +
'ok 11 - 11 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..11\n' +
'# tests 11\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 0\n' +
|
|
test-linux (ubuntu-24.04-arm):
test/test-runner/test-output-coverage-short-filename.mjs#L0
--- stderr ---
node:internal/modules/run_main:111
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
'TAP version 13\n' +
'# Subtest: Coverage Print Short Filename\n' +
+ 'ok 1 - Coverage Print Short Filename # TODO\n' +
- 'ok 1 - Coverage Print Short Filename\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
+ '# pass 0\n' +
- '# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
+ '# todo 1\n' +
- '# todo 0\n' +
'# duration_ms *\n' +
'# start of coverage report\n' +
'# ---------------------------------------------------------------------------------------\n' +
'# file | line % | branch % | funcs % | uncovered lines\n' +
'# ---------------------------------------------------------------------------------------\n' +
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-coverage-short-filename.mjs:12:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: Coverage Print Short Filename\n' +
'ok 1 - Coverage Print Short Filename # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 1\n' +
'# duration_ms *\n' +
'# start of coverage report\n' +
'# ---------------------------------------------------------------------------------------\n' +
'# file | line % | branch % | funcs % | uncovered lines\n' +
'# ---------------------------------------------------------------------------------------\n' +
'# a.js | 55.77 | 100.00 | 0.00 | 5-7 9-11 13-15 17-19 29-30 40-42 45-47 50-52\n' +
'# ---------------------------------------------------------------------------------------\n' +
'# all files | 55.77 | 100.00 | 0.00 |\n' +
'# ---------------------------------------------------------------------------------------\n' +
'# end of coverage report\n',
expected: 'TAP version 13\n' +
'# Subtest: Coverage Print Short Filename\n' +
'ok 1 - Coverage Print Short Filename\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\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' +
'# start of coverage report\n' +
'# ---------------------------------------------------------------------------------------\n' +
'# file | line % | branch % | funcs % | uncovered lines\n' +
'# ---------------------------------------------------------------------------------------\n' +
'# a.js | 55.77 | 100.00 | 0.00 | 5-7 9-11 13-15 17-19 29-30 40-42 45-47 50-52\n' +
'# ---------------------------------------------------------------------------------------\n' +
'# all files | 55.77 | 100.00 | 0.00 |\n' +
'# ---------------------------------------------------------------------------------------\n' +
'# end of coverage report\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/test-runner/test-output-coverage-short-filename.mjs
|
|
test-linux (ubuntu-24.04-arm):
test/test-runner/test-output-arbitrary-output-colored.mjs#L0
--- stderr ---
node:internal/modules/run_main:111
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
"{ foo: [32m'bar'[39m }\n" +
'[33m1[39m\n' +
+ '[32m✔ passing test [90m(*ms)[39m # TODO[39m\n' +
- '[32m✔ passing test [90m(*ms)[39m[39m\n' +
'[34mℹ tests 1[39m\n' +
'[34mℹ suites 0[39m\n' +
+ '[34mℹ pass 0[39m\n' +
- '[34mℹ pass 1[39m\n' +
'[34mℹ fail 0[39m\n' +
'[34mℹ cancelled 0[39m\n' +
'[34mℹ skipped 0[39m\n' +
+ '[34mℹ todo 1[39m\n' +
- '[34mℹ todo 0[39m\n' +
'[34mℹ duration_ms *[39m\n' +
'TAP version 13\n' +
"# { foo: [32m'bar'[39m }\n" +
'# [33m1[39m\n' +
'# Subtest: passing test\n' +
+ 'ok 1 - passing test # TODO\n' +
- 'ok 1 - passing test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
+ '# pass 0\n' +
- '# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
+ '# todo 1\n' +
- '# todo 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-arbitrary-output-colored.mjs:23:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: "{ foo: [32m'bar'[39m }\n" +
'[33m1[39m\n' +
'[32m✔ passing test [90m(*ms)[39m # TODO[39m\n' +
'[34mℹ tests 1[39m\n' +
'[34mℹ suites 0[39m\n' +
'[34mℹ pass 0[39m\n' +
'[34mℹ fail 0[39m\n' +
'[34mℹ cancelled 0[39m\n' +
'[34mℹ skipped 0[39m\n' +
'[34mℹ todo 1[39m\n' +
'[34mℹ duration_ms *[39m\n' +
'TAP version 13\n' +
"# { foo: [32m'bar'[39m }\n" +
'# [33m1[39m\n' +
'# Subtest: passing test\n' +
'ok 1 - passing test # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 1\n' +
'# duration_ms *\n',
expected: "{ foo: [32m'bar'[39m }\n" +
'[33m1[39m\n' +
'[32m✔ passing test [90m(*ms)[39m[39m\n' +
'[34mℹ tests 1[39m\n' +
'[34mℹ suites 0[39m\n' +
'[34mℹ pass 1[39m\n' +
'[34mℹ fail 0[39m\n' +
'[34mℹ cancelled 0[39m\n' +
'[34mℹ skipped 0[39m\n' +
'[34mℹ todo 0[39m\n' +
'[34mℹ duration_ms *[39m\n' +
'TAP version 13\n' +
"# { foo: [32m'bar'[39m }\n" +
'# [33m1[39m\n' +
'# Subtest: passing test\n' +
'ok 1 - passing test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\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 v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/test-runner/test-output-arbitrary-output-colored.mjs
|
|
test-linux (ubuntu-24.04-arm):
test/test-runner/test-output-assertion-color-tty.mjs#L0
--- stderr ---
node:internal/modules/run_main:111
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '[33m⚠ failing assertion [90m(*ms)[39m # TODO[39m\n' +
- '[31m✖ failing assertion [90m(*ms)[39m[39m\n' +
'[34mℹ tests 1[39m\n' +
'[34mℹ suites 0[39m\n' +
'[34mℹ pass 0[39m\n' +
+ '[34mℹ fail 0[39m\n' +
- '[34mℹ fail 1[39m\n' +
'[34mℹ cancelled 0[39m\n' +
'[34mℹ skipped 0[39m\n' +
+ '[34mℹ todo 1[39m\n' +
- '[34mℹ todo 0[39m\n' +
'[34mℹ duration_ms *[39m\n' +
'\n' +
'[31m✖ failing tests:[39m\n' +
'\n' +
'test at test/fixtures/test-runner/output/assertion-color-tty.mjs:4:1\n' +
+ '[33m⚠ failing assertion [90m(*ms)[39m # TODO[39m\n' +
- '[31m✖ failing assertion [90m(*ms)[39m[39m\n' +
' [AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:\n' +
' [32mactual[39m [31mexpected[39m\n' +
'\n' +
" [39m'[39m[32m![39m[39mH[39m[39me[39m[39ml[39m[39ml[39m[39mo[39m[39m [39m[39mW[39m[39mo[39m[39mr[39m[39ml[39m[39md[39m[31m![39m[39m'[39m\n" +
' ] {\n' +
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-assertion-color-tty.mjs:13:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '[33m⚠ failing assertion [90m(*ms)[39m # TODO[39m\n' +
'[34mℹ tests 1[39m\n' +
'[34mℹ suites 0[39m\n' +
'[34mℹ pass 0[39m\n' +
'[34mℹ fail 0[39m\n' +
'[34mℹ cancelled 0[39m\n' +
'[34mℹ skipped 0[39m\n' +
'[34mℹ todo 1[39m\n' +
'[34mℹ duration_ms *[39m\n' +
'\n' +
'[31m✖ failing tests:[39m\n' +
'\n' +
'test at test/fixtures/test-runner/output/assertion-color-tty.mjs:4:1\n' +
'[33m⚠ failing assertion [90m(*ms)[39m # TODO[39m\n' +
' [AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:\n' +
' [32mactual[39m [31mexpected[39m\n' +
'\n' +
" [39m'[39m[32m![39m[39mH[39m[39me[39m[39ml[39m[39ml[39m[39mo[39m[39m [39m[39mW[39m[39mo[39m[39mr[39m[39ml[39m[39md[39m[31m![39m[39m'[39m\n" +
' ] {\n' +
' generatedMessage: [33mtrue[39m,\n' +
" code: [32m'ERR_ASSERTION'[39m,\n" +
" actual: [32m'!Hello World'[39m,\n" +
" expected: [32m'Hello World!'[39m,\n" +
" operator: [32m'strictEqual'[39m,\n" +
" diff: [32m'simple'[39m\n" +
' }\n',
expected: '[31m✖ failing assertion [90m(*ms)[39m[39m\n' +
'[34mℹ tests 1[39m\n' +
'[34mℹ suites 0[39m\n' +
'[34mℹ pass 0[39m\n' +
'[34mℹ fail 1[39m\n' +
'[34mℹ cancelled 0[39m\n' +
'[34mℹ skipped 0[39m\n' +
'[34mℹ todo 0[39m\n' +
'[34mℹ duration_ms *[39m\n' +
'\n' +
'[31m✖ failing tests:[39m\n' +
'\n' +
'test at test/fixtures/test-runner/output/assertion-color-tty.mjs:4:1\n' +
'[31m✖ failing assertion [90m(*ms)[39m[39m\n' +
' [AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:\n' +
' [32mactual[39m [31mexpected[39m\n' +
'\n' +
" [39m'[39m[32m![39m[39mH[39m[39me[39m[39ml[39m[39ml[39m[39mo[39m[39m [39m[39mW[39m[39mo[39m[39mr[39m[39ml[39m[39md[39m[31m![39m[39m'[39m\n" +
' ] {\n' +
' generatedMessage: [33mtrue[39m,\n' +
" code: [32m'ERR_ASSERTION'[39m,\n" +
" actual: [32m'!Hello World'[39m,\n" +
" expected: [32m'Hello World!'[39m,\n" +
" operator: [32m'strictEqual'[39m,\n" +
" diff: [32m'simple'[39m\n" +
' }\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node --expose-internals /home/runner/work/node/node/node/test/test-runner/test-output-assertion-color-tty.mjs
|
|
test-linux (ubuntu-24.04-arm):
test/test-runner/test-output-async-test-scheduling.mjs#L0
--- stderr ---
node:internal/modules/run_main:111
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
'TAP version 13\n' +
'# Subtest: test\n' +
+ 'ok 1 - test # TODO\n' +
- 'ok 1 - test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: suite\n' +
' # Subtest: test\n' +
+ ' ok 1 - test # TODO\n' +
- ' ok 1 - test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: scheduled async\n' +
+ ' ok 2 - scheduled async # TODO\n' +
- ' ok 2 - scheduled async\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' 1..2\n' +
+ 'ok 2 - suite # TODO\n' +
- 'ok 2 - suite\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
' ...\n' +
'# Subtest: scheduled async\n' +
+ 'ok 3 - scheduled async # TODO\n' +
- 'ok 3 - scheduled async\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..3\n' +
'# tests 4\n' +
'# suites 1\n' +
+ '# pass 0\n' +
- '# pass 4\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
+ '# todo 4\n' +
- '# todo 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-async-test-scheduling.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: test\n' +
'ok 1 - test # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: suite\n' +
' # Subtest: test\n' +
' ok 1 - test # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: scheduled async\n' +
' ok 2 - scheduled async # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' 1..2\n' +
'ok 2 - suite # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
' ...\n' +
'# Subtest: scheduled async\n' +
'ok 3 - scheduled async # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..3\n' +
'# tests 4\n' +
'# suites 1\n' +
'# pass 0\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 4\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'# Subtest: test\n' +
'ok 1 - test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: suite\n' +
' # Subtest: test\n' +
' ok 1 - test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: scheduled async\n' +
' ok 2 - scheduled async\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' 1..2\n' +
'ok 2 - suite\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
' ...\n' +
'# Subtest: scheduled async\n' +
'ok 3 - scheduled async\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..3\n' +
'# tests 4\n' +
'# suites 1\n' +
'# pass 4\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/test-runner/test-output-async-test-scheduling.mjs
|
|
test-linux (ubuntu-24.04-arm):
test/test-runner/test-output-before-and-after-each-too-many-listeners.mjs#L0
--- stderr ---
node:internal/modules/run_main:111
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
'TAP version 13\n' +
'# Subtest: 1\n' +
+ 'ok 1 - 1 # TODO\n' +
- 'ok 1 - 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 2\n' +
+ 'ok 2 - 2 # TODO\n' +
- 'ok 2 - 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 3\n' +
+ 'ok 3 - 3 # TODO\n' +
- 'ok 3 - 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 4\n' +
+ 'ok 4 - 4 # TODO\n' +
- 'ok 4 - 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 5\n' +
+ 'ok 5 - 5 # TODO\n' +
- 'ok 5 - 5\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 6\n' +
+ 'ok 6 - 6 # TODO\n' +
- 'ok 6 - 6\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 7\n' +
+ 'ok 7 - 7 # TODO\n' +
- 'ok 7 - 7\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 8\n' +
+ 'ok 8 - 8 # TODO\n' +
- 'ok 8 - 8\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 9\n' +
+ 'ok 9 - 9 # TODO\n' +
- 'ok 9 - 9\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 10\n' +
+ 'ok 10 - 10 # TODO\n' +
- 'ok 10 - 10\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 11\n' +
+ 'ok 11 - 11 # TODO\n' +
- 'ok 11 - 11\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..11\n' +
'# tests 11\n' +
'# suites 0\n' +
+ '# pass 0\n' +
- '# pass 11\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
+ '# todo 11\n' +
- '# todo 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-before-and-after-each-too-many-listeners.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: 1\n' +
'ok 1 - 1 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 2\n' +
'ok 2 - 2 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 3\n' +
'ok 3 - 3 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 4\n' +
'ok 4 - 4 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 5\n' +
'ok 5 - 5 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 6\n' +
'ok 6 - 6 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 7\n' +
'ok 7 - 7 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 8\n' +
'ok 8 - 8 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 9\n' +
'ok 9 - 9 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 10\n' +
'ok 10 - 10 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 11\n' +
'ok 11 - 11 # TODO\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..11\n' +
'# tests 11\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 0\n' +
'# cancell
|
|
test-linux (ubuntu-24.04-arm):
test/test-runner/test-output-abort-suite.mjs#L0
--- stderr ---
node:internal/modules/run_main:111
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 # TODO\n' +
- ' ok 1 - ok 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 2\n' +
+ ' ok 2 - ok 2 # TODO\n' +
- ' ok 2 - ok 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 3\n' +
+ ' ok 3 - ok 3 # TODO\n' +
- ' ok 3 - ok 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 4\n' +
+ ' ok 4 - ok 4 # TODO\n' +
- ' ok 4 - ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: not ok 1\n' +
+ ' not ok 5 - not ok 1 # TODO\n' +
- ' not ok 5 - not ok 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_suite.js:10:3'\n" +
" failureType: 'cancelledByParent'\n" +
...
' # Subtest: not ok 2\n' +
+ ' not ok 6 - not ok 2 # TODO\n' +
- ' not ok 6 - not ok 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_suite.js:11:3'\n" +
" failureType: 'cancelledByParent'\n" +
...
' # Subtest: not ok 3\n' +
+ ' not ok 7 - not ok 3 # TODO\n' +
- ' not ok 7 - not ok 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_suite.js:12:3'\n" +
" failureType: 'testAborted'\n" +
...
' # Subtest: not ok 4\n' +
+ ' not ok 8 - not ok 4 # TODO\n' +
- ' not ok 8 - not ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_suite.js:13:3'\n" +
" failureType: 'testAborted'\n" +
...
' # Subtest: not ok 5\n' +
+ ' not ok 9 - not ok 5 # TODO\n' +
- ' not ok 9 - not ok 5\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_suite.js:14:3'\n" +
" failureType: 'testAborted'\n" +
...
' 1..9\n' +
+ 'not ok 1 - describe timeout signal # TODO\n' +
- 'not ok 1 - describe timeout signal\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_suite.js:5:1'\n" +
" failureType: 'testAborted'\n" +
...
'# Subtest: describe abort signal\n' +
+ 'not ok 2 - describe abort signal # TODO\n' +
- 'not ok 2 - describe abort signal\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_suite.js:19:1'\n" +
" failureType: 'testAborted'\n" +
...
'# suites 2\n' +
+ '# pass 0\n' +
- '# pass 4\n' +
'# fail 0\n' +
+ '# cancelled 0\n' +
- '# cancelled 5\n' +
'# skipped 0\n' +
+ '# todo 9\n' +
- '# todo 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-abort-suite.mjs:7:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: describe timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1 # TODO\n' +
' ---\n' +
' duration_ms: *\n
|
|
test-linux (ubuntu-24.04-arm):
test/test-runner/test-output-abort.mjs#L0
--- stderr ---
node:internal/modules/run_main:111
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 # TODO\n' +
- ' ok 1 - ok 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 2\n' +
+ ' ok 2 - ok 2 # TODO\n' +
- ' ok 2 - ok 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 3\n' +
+ ' ok 3 - ok 3 # TODO\n' +
- ' ok 3 - ok 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 4\n' +
+ ' ok 4 - ok 4 # TODO\n' +
- ' ok 4 - ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: not ok 1\n' +
+ ' not ok 5 - not ok 1 # TODO\n' +
- ' not ok 5 - not ok 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort.js:11:7'\n" +
" failureType: 'cancelledByParent'\n" +
...
' # Subtest: not ok 2\n' +
+ ' not ok 6 - not ok 2 # TODO\n' +
- ' not ok 6 - not ok 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort.js:12:7'\n" +
" failureType: 'cancelledByParent'\n" +
...
' # Subtest: not ok 3\n' +
+ ' not ok 7 - not ok 3 # TODO\n' +
- ' not ok 7 - not ok 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort.js:13:7'\n" +
" failureType: 'testAborted'\n" +
...
' # Subtest: not ok 4\n' +
+ ' not ok 8 - not ok 4 # TODO\n' +
- ' not ok 8 - not ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort.js:14:7'\n" +
" failureType: 'testAborted'\n" +
...
' # Subtest: not ok 5\n' +
+ ' not ok 9 - not ok 5 # TODO\n' +
- ' not ok 9 - not ok 5\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort.js:15:7'\n" +
" failureType: 'testAborted'\n" +
...
' 1..9\n' +
+ 'not ok 1 - promise timeout signal # TODO\n' +
- 'not ok 1 - promise timeout signal\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort.js:5:1'\n" +
" failureType: 'testAborted'\n" +
...
'# Subtest: promise abort signal\n' +
+ 'not ok 2 - promise abort signal # TODO\n' +
- 'not ok 2 - promise abort signal\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort.js:21:1'\n" +
" failureType: 'testAborted'\n" +
...
' # Subtest: ok 1\n' +
+ ' ok 1 - ok 1 # TODO\n' +
- ' ok 1 - ok 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 2\n' +
+ ' ok 2 - ok 2 # TODO\n' +
- ' ok 2 - ok 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 3\n' +
+ ' ok 3 - ok 3 # TODO\n' +
- ' ok 3 - ok 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 4\n' +
+ ' ok 4 - ok 4 # TODO\n' +
- ' ok 4 - ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: not ok 1\n' +
+ '
|
|
test-linux (ubuntu-24.04-arm):
test/test-runner/test-output-abort-runs-after-hook.mjs#L0
--- stderr ---
node:internal/modules/run_main:111
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 # TODO\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" +
...
'# pass 0\n' +
+ '# fail 0\n' +
- '# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
+ '# todo 1\n' +
- '# todo 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/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 # TODO\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 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 1\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 v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/test-runner/test-output-abort-runs-after-hook.mjs
|
|
test-linux (ubuntu-24.04-arm):
test/test-runner/test-output-abort-hooks.mjs#L0
--- stderr ---
node:internal/modules/run_main:111
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' +
...
' # Subtest: test 1\n' +
+ ' not ok 1 - test 1 # TODO\n' +
- ' not ok 1 - test 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:11:3'\n" +
" failureType: 'cancelledByParent'\n" +
...
' # Subtest: test 2\n' +
+ ' not ok 2 - test 2 # TODO\n' +
- ' not ok 2 - test 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:14:3'\n" +
" failureType: 'cancelledByParent'\n" +
...
' 1..2\n' +
+ 'not ok 1 - 1 before describe # TODO\n' +
- 'not ok 1 - 1 before describe\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:4:1'\n" +
" failureType: 'hookFailed'\n" +
...
' # Subtest: test 1\n' +
+ ' ok 1 - test 1 # TODO\n' +
- ' ok 1 - test 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: test 2\n' +
+ ' ok 2 - test 2 # TODO\n' +
- ' ok 2 - test 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' 1..2\n' +
+ 'not ok 2 - 2 after describe # TODO\n' +
- 'not ok 2 - 2 after describe\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:19:1'\n" +
" failureType: 'hookFailed'\n" +
...
' # Subtest: test 1\n' +
+ ' not ok 1 - test 1 # TODO\n' +
- ' not ok 1 - test 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:41:3'\n" +
" failureType: 'hookFailed'\n" +
...
' # Subtest: test 2\n' +
+ ' not ok 2 - test 2 # TODO\n' +
- ' not ok 2 - test 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:44:3'\n" +
" failureType: 'hookFailed'\n" +
...
' 1..2\n' +
+ 'ok 3 - 3 beforeEach describe # TODO\n' +
- 'not ok 3 - 3 beforeEach describe\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
- " location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:34:1'\n" +
- " failureType: 'subtestsFailed'\n" +
- " error: '2 subtests failed'\n" +
- " code: 'ERR_TEST_FAILURE'\n" +
' ...\n' +
'# Subtest: 4 afterEach describe\n' +
' # Subtest: test 1\n' +
+ ' not ok 1 - test 1 # TODO\n' +
- ' not ok 1 - test 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:56:3'\n" +
" failureType: 'hookFailed'\n" +
...
' # Subtest: test 2\n' +
+ ' not ok 2 - test 2 # TODO\n' +
- ' not ok 2 - test 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:59:3'\n" +
" failureType: 'hookFailed'\n" +
...
' 1..2\n' +
+ 'ok 4 - 4 afterEach describe # TODO\n' +
- 'not ok 4 - 4 afterEach describe\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
- " location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:49:1'\n" +
- " failureType: 'subtestsFailed'\n" +
- " error: '2 subtests failed'\n" +
- " code: 'ERR_TEST_FAILURE'\n" +
' ...\n' +
'
|
|
test-linux (ubuntu-24.04):
test/test-runner/test-output-abort-runs-after-hook.mjs#L0
--- stderr ---
node:internal/modules/run_main:111
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 # TODO\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" +
...
'# pass 0\n' +
+ '# fail 0\n' +
- '# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
+ '# todo 1\n' +
- '# todo 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/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 # TODO\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 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 1\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 v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/test-runner/test-output-abort-runs-after-hook.mjs
|
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-xfail.js#L211
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
0 !== 1
at ChildProcess.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-xfail.js:211:12)
at ChildProcess.<anonymous> (/home/runner/work/node/node/node/test/common/index.js:512:15)
at ChildProcess.emit (node:events:514:20)
at maybeClose (node:internal/child_process:1156:16)
at ChildProcess._handle.onexit (node:internal/child_process:334:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 0,
expected: 1,
operator: 'strictEqual',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-runner-xfail.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-test-rerun-failures.js#L105
--- stdout ---
Test failure: 'test should pass on third rerun'
Location: test/parallel/test-runner-test-rerun-failures.js:101:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
0 !== 1
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-test-rerun-failures.js:105:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1413:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 0,
expected: 1,
operator: 'strictEqual',
diff: 'simple'
}
Test failure: 'test should pass on third rerun with `--test`'
Location: test/parallel/test-runner-test-rerun-failures.js:130:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
0 !== 1
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-test-rerun-failures.js:134:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1413:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:978:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 0,
expected: 1,
operator: 'strictEqual',
diff: 'simple'
}
Test failure: 'failing test is not swallowed when siblings share its source location'
Location: test/parallel/test-runner-test-rerun-failures.js:159:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
0 !== 1
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-test-rerun-failures.js:218:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1413:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:978:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 0,
expected: 1,
operator: 'strictEqual',
diff: 'simple'
}
Test failure: 'using `run` api'
Location: test/parallel/test-runner-test-rerun-failures.js:256:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
... Skipped lines
[
{
'test/fixtures/test-runner/rerun.js:17:3': {
name: 'ambiguous (expectedAttempts=0)',
passed_on_attempt: 0
...
},
+ 'test/fixtures/test-runner/rerun.js:40:1': {
+ name: 'nested ambiguous (expectedAttempts=1)',
+ passed_on_attempt: 0
+ },
'test/fixtures/test-runner/rerun.js:43:1': {
name: 'describe rerun',
passed_on_attempt: 0
},
'test/fixtures/test-runner/rerun.js:44:3': {
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-test-rerun-failures.js:264:10)
at async Test.run (node:internal/test_runner/test:1413:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:978:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [Array],
expected: [Array],
operator: 'deepStrictEqual',
diff: 'simple'
}
Mismatched noop function calls. Expected exactly 19, actual 20.
at Proxy.mustCall (/home/runner/work/node/node/node/test/common/index.js:470:10)
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-test-rerun-failures.js:258:33)
at Test.runInAsyncScope (node:async_hooks:227:14)
at Test.run (node:internal/test_runner/test:1406:25)
at async Test.processPendingSubtests (node:internal/test_runner/test:978:7)
Mismatched noop function calls. Expected exactly 4, actual 3.
at Proxy.mustCall (/home/runner/work/node/node/node/test/common/index.js:470:10)
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-test-rerun-failures.js:259:33)
at Test.runInAsyncScope (node:async_hooks:227:14)
at Test.run (node:internal/test_runner/test:1406:25)
at async Test.processPendingSubtests (node:internal/test_runner/test:978:7)
Command: out/R
|
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-misc.js#L36
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /pass 2$/m. Input:
'⚠ <anonymous> (10.650726ms) # TODO\n' +
'▶ Abort Signal in describe\n' +
' ✔ Supports AbortSignal (0.435731ms) # TODO\n' +
'✔ Abort Signal in describe (1.065344ms) # TODO\n' +
'✔ <anonymous> (0.148766ms) # TODO\n' +
'ℹ tests 3\n' +
'ℹ suites 1\n' +
'ℹ pass 0\n' +
'ℹ fail 0\n' +
'ℹ cancelled 0\n' +
'ℹ skipped 0\n' +
'ℹ todo 3\n' +
'ℹ duration_ms 57.301233\n' +
'\n' +
'✖ failing tests:\n' +
'\n' +
'test at test/parallel/test-runner-misc.js:17:5\n' +
'⚠ <anonymous> (10.650726ms) # TODO\n' +
" 'test timed out after 10ms'\n"
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-misc.js:36:10)
at Module._compile (node:internal/modules/cjs/loader:1968:14)
at Object..js (node:internal/modules/cjs/loader:2108:10)
at Module.load (node:internal/modules/cjs/loader:1690:32)
at Module._load (node:internal/modules/cjs/loader:1480:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '⚠ <anonymous> (10.650726ms) # TODO\n' +
'▶ Abort Signal in describe\n' +
' ✔ Supports AbortSignal (0.435731ms) # TODO\n' +
'✔ Abort Signal in describe (1.065344ms) # TODO\n' +
'✔ <anonymous> (0.148766ms) # TODO\n' +
'ℹ tests 3\n' +
'ℹ suites 1\n' +
'ℹ pass 0\n' +
'ℹ fail 0\n' +
'ℹ cancelled 0\n' +
'ℹ skipped 0\n' +
'ℹ todo 3\n' +
'ℹ duration_ms 57.301233\n' +
'\n' +
'✖ failing tests:\n' +
'\n' +
'test at test/parallel/test-runner-misc.js:17:5\n' +
'⚠ <anonymous> (10.650726ms) # TODO\n' +
" 'test timed out after 10ms'\n",
expected: /pass 2$/m,
operator: 'match',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-runner-misc.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-inspect.mjs#L0
--- stderr ---
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
0 !== 1
at file:///home/runner/work/node/node/node/test/parallel/test-runner-inspect.mjs:50:10
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 0,
expected: 1,
operator: 'strictEqual',
diff: 'simple'
}
1
--- stdout ---
[test] Connecting to a child Node process
[test] Testing /json/list
[err] (node:178705) Warning: Using the inspector with --test forces running at a concurrency of 1. Use the inspectPort option to run with concurrency
[err] (Use `node --trace-warnings ...` to show where the warning was created)
[err]
[out] TAP version 13
[out]
[err] Debugger listening on ws://127.0.0.1:42935/f6efb6ad-36cc-49e6-a3a5-2e7919a221c9
[err]
[out] # For help, see: https://nodejs.org/learn/getting-started/debugging
[out]
[err] Debugger attached.
[err]
[out] # Subtest: this should pass
[out]
[out] ok 1 - this should pass # TODO
[out]
[out] ---
[out] duration_ms: 0.76803
[out] type: 'test'
[out] ...
[out]
[err] Waiting for the debugger to disconnect...
[err]
[out] 1..1
[out]
[out] # tests 1
[out] # suites 0
[out]
[out] # pass 0
[out]
[out] # fail 0
[out]
[out] # cancelled 0
[out] # skipped 0
[out] # todo 1
[out] # duration_ms 132.476722
[out]
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-runner-inspect.mjs
|
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-force-exit-failure.js#L18
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
0 !== 1
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-force-exit-failure.js:18:10)
at Module._compile (node:internal/modules/cjs/loader:1968:14)
at Object..js (node:internal/modules/cjs/loader:2108:10)
at Module.load (node:internal/modules/cjs/loader:1690:32)
at Module._load (node:internal/modules/cjs/loader:1480:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 0,
expected: 1,
operator: 'strictEqual',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-runner-force-exit-failure.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-extraneous-async-activity.js#L14
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /pass 1/m. Input:
'✔ extraneous async activity test (1.274192ms) # TODO\n' +
'ℹ Error: Test "extraneous async activity test" at test/fixtures/test-runner/extraneous_set_immediate_async.mjs:3:1 generated asynchronous activity after the test ended. This activity created the error "Error" and would have caused the test to fail, but instead triggered an uncaughtException event.\n' +
'⚠ /home/runner/work/node/node/node/test/fixtures/test-runner/extraneous_set_immediate_async.mjs (87.618626ms) # TODO\n' +
'ℹ tests 2\n' +
'ℹ suites 0\n' +
'ℹ pass 0\n' +
'ℹ fail 0\n' +
'ℹ cancelled 0\n' +
'ℹ skipped 0\n' +
'ℹ todo 2\n' +
'ℹ duration_ms 94.422912\n' +
'\n' +
'✖ failing tests:\n' +
'\n' +
'test at test/fixtures/test-runner/extraneous_set_immediate_async.mjs:1:1\n' +
'⚠ /home/runner/work/node/node/node/test/fixtures/test-runner/extraneous_set_immediate_async.mjs (87.618626ms) # TODO\n' +
" 'test failed'\n"
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-extraneous-async-activity.js:14:10)
at Module._compile (node:internal/modules/cjs/loader:1968:14)
at Object..js (node:internal/modules/cjs/loader:2108:10)
at Module.load (node:internal/modules/cjs/loader:1690:32)
at Module._load (node:internal/modules/cjs/loader:1480:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '✔ extraneous async activity test (1.274192ms) # TODO\n' +
'ℹ Error: Test "extraneous async activity test" at test/fixtures/test-runner/extraneous_set_immediate_async.mjs:3:1 generated asynchronous activity after the test ended. This activity created the error "Error" and would have caused the test to fail, but instead triggered an uncaughtException event.\n' +
'⚠ /home/runner/work/node/node/node/test/fixtures/test-runner/extraneous_set_immediate_async.mjs (87.618626ms) # TODO\n' +
'ℹ tests 2\n' +
'ℹ suites 0\n' +
'ℹ pass 0\n' +
'ℹ fail 0\n' +
'ℹ cancelled 0\n' +
'ℹ skipped 0\n' +
'ℹ todo 2\n' +
'ℹ duration_ms 94.422912\n' +
'\n' +
'✖ failing tests:\n' +
'\n' +
'test at test/fixtures/test-runner/extraneous_set_immediate_async.mjs:1:1\n' +
'⚠ /home/runner/work/node/node/node/test/fixtures/test-runner/extraneous_set_immediate_async.mjs (87.618626ms) # TODO\n' +
" 'test failed'\n",
expected: /pass 1/m,
operator: 'match',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-runner-extraneous-async-activity.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-exit-code.js#L70
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
0 !== 1
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-exit-code.js:70:10)
at Module._compile (node:internal/modules/cjs/loader:1968:14)
at Object..js (node:internal/modules/cjs/loader:2108:10)
at Module.load (node:internal/modules/cjs/loader:1690:32)
at Module._load (node:internal/modules/cjs/loader:1480:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 0,
expected: 1,
operator: 'strictEqual',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-runner-exit-code.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-expect-error.js#L0
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-runner-expect-error.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-cli.js#L34
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
0 !== 1
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-cli.js:34:12)
at Module._compile (node:internal/modules/cjs/loader:1968:14)
at Object..js (node:internal/modules/cjs/loader:2108:10)
at Module.load (node:internal/modules/cjs/loader:1690:32)
at Module._load (node:internal/modules/cjs/loader:1480:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 0,
expected: 1,
operator: 'strictEqual',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-runner-cli.js
|
|
sccache stats - test-linux
80% - 4050 hits, 1009 misses, 0 errors
|
|
sccache stats - test-linux
80% - 4041 hits, 1028 misses, 0 errors
|