test: adapt REPL test to V8 changes #1051
Annotations
2 errors
test/parallel/test-node-output-errors.mjs#L1
--- stdout ---
TAP version 13
# Subtest: errors output
# Subtest: errors/async_error_eval_cjs.js
ok 1 - errors/async_error_eval_cjs.js
---
duration_ms: 672.658818
...
# Subtest: errors/async_error_eval_esm.js
ok 2 - errors/async_error_eval_esm.js
---
duration_ms: 695.248241
...
# Subtest: errors/async_error_microtask_main.js
ok 3 - errors/async_error_microtask_main.js
---
duration_ms: 732.30662
...
# Subtest: errors/async_error_nexttick_main.js
ok 4 - errors/async_error_nexttick_main.js
---
duration_ms: 681.308625
...
# Subtest: errors/async_error_sync_main.js
ok 5 - errors/async_error_sync_main.js
---
duration_ms: 675.559069
...
# Subtest: errors/async_error_sync_esm.mjs
ok 6 - errors/async_error_sync_esm.mjs
---
duration_ms: 704.907758
...
# Subtest: errors/error_aggregateTwoErrors.js
ok 7 - errors/error_aggregateTwoErrors.js
---
duration_ms: 633.697543
...
# Subtest: errors/error_exit.js
ok 8 - errors/error_exit.js
---
duration_ms: 452.344898
...
# Subtest: errors/error_with_nul.js
ok 9 - errors/error_with_nul.js
---
duration_ms: 499.848501
...
# Subtest: errors/events_unhandled_error_common_trace.js
ok 10 - errors/events_unhandled_error_common_trace.js
---
duration_ms: 591.430787
...
# Subtest: errors/events_unhandled_error_nexttick.js
ok 11 - errors/events_unhandled_error_nexttick.js
---
duration_ms: 680.37351
...
# Subtest: errors/events_unhandled_error_sameline.js
ok 12 - errors/events_unhandled_error_sameline.js
---
duration_ms: 575.280889
...
# Subtest: errors/events_unhandled_error_subclass.js
ok 13 - errors/events_unhandled_error_subclass.js
---
duration_ms: 539.948393
...
# Subtest: errors/throw_custom_error.js
ok 14 - errors/throw_custom_error.js
---
duration_ms: 546.054386
...
# Subtest: errors/throw_in_line_with_tabs.js
ok 15 - errors/throw_in_line_with_tabs.js
---
duration_ms: 549.618534
...
# Subtest: errors/throw_non_error.js
ok 16 - errors/throw_non_error.js
---
duration_ms: 535.126903
...
# Subtest: errors/promise_always_throw_unhandled.js
ok 17 - errors/promise_always_throw_unhandled.js
---
duration_ms: 514.729336
...
# Subtest: errors/force_colors.js
not ok 18 - errors/force_colors.js
---
duration_ms: 360.311764
failureType: 'testCodeFailure'
error: |-
Expected values to be strictly equal:
+ actual - expected ... Lines skipped
'*force_colors.js:1\n' +
"throw new Error('Should include grayed stack trace')\n" +
...
' at Object.<anonymous> \x1B[90m(/\x1B[39mtest*force_colors.js:1:7\x1B[90m)\x1B[39m\n' +
'\x1B[90m at Module._compile (node:internal*modules*cjs*loader:1233:14)\x1B[39m\n' +
+ '\x1B[90m at Module._extensions..js (node:internal*modules*cjs*loader:1287:10)\x1B[39m\n' +
- '\x1B[90m at Object..js (node:internal*modules*cjs*loader:1287:10)\x1B[39m\n' +
'\x1B[90m at Module.load (node:internal*modules*cjs*loader:1091:32)\x1B[39m\n' +
+ '\x1B[90m at Module._load (node:internal*modules*cjs*loader:938:12)\x1B[39m\n' +
- '\x1B[90m at Function._load (node:internal*modules*cjs*loader:938:12)\x1B[39m\n' +
'\x1B[90m at Function.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:83:12)\x1B[39m\n' +
'\x1B[90m at node:internal*main*run_main_module:23:47\x1B[39m\n' +
'\n' +
'Node.js *\n'
code: 'ERR_ASSERTION'
name: 'AssertionError'
expected: |-
*force_colors.js:1
throw new Error('Should include grayed stack trace')
^
Error: Should include grayed stack trace
|
|
The logs for this run have expired and are no longer available.
Loading