esm: require braces for modules code #47657
Annotations
3 errors
test/parallel/test-node-output-errors.mjs#L64
--- stdout ---
::debug::starting to run errors output
βΆ errors output
β errors/async_error_eval_cjs.js (723.217417ms)
::debug::starting to run errors/async_error_eval_cjs.js
::debug::completed running errors/async_error_eval_cjs.js
::debug::starting to run errors/async_error_eval_esm.js
β errors/async_error_eval_esm.js (742.973196ms)
β errors/async_error_microtask_main.js (295.10947ms)
β errors/async_error_nexttick_main.js (508.696986ms)
β errors/async_error_sync_main.js (430.192177ms)
β errors/async_error_sync_esm.mjs (355.673025ms)
β errors/error_aggregateTwoErrors.js (522.852486ms)
β errors/error_exit.js (552.353604ms)
β errors/error_with_nul.js (540.654338ms)
::debug::completed running errors/async_error_eval_esm.js
::debug::starting to run errors/async_error_microtask_main.js
::debug::completed running errors/async_error_microtask_main.js
::debug::starting to run errors/async_error_nexttick_main.js
::debug::completed running errors/async_error_nexttick_main.js
::debug::starting to run errors/async_error_sync_main.js
::debug::completed running errors/async_error_sync_main.js
::debug::starting to run errors/async_error_sync_esm.mjs
::debug::completed running errors/async_error_sync_esm.mjs
::debug::starting to run errors/error_aggregateTwoErrors.js
::debug::completed running errors/error_aggregateTwoErrors.js
::debug::starting to run errors/error_exit.js
::debug::completed running errors/error_exit.js
::debug::starting to run errors/error_with_nul.js
::debug::completed running errors/error_with_nul.js
β errors/events_unhandled_error_common_trace.js (524.641212ms)
::debug::starting to run errors/events_unhandled_error_common_trace.js
::debug::completed running errors/events_unhandled_error_common_trace.js
::debug::starting to run errors/events_unhandled_error_nexttick.js
β errors/events_unhandled_error_nexttick.js (644.252102ms)
β errors/events_unhandled_error_sameline.js (592.308168ms)
β errors/events_unhandled_error_subclass.js (612.908159ms)
β errors/throw_custom_error.js (484.613946ms)
::debug::completed running errors/events_unhandled_error_nexttick.js
::debug::starting to run errors/events_unhandled_error_sameline.js
::debug::completed running errors/events_unhandled_error_sameline.js
::debug::starting to run errors/events_unhandled_error_subclass.js
::debug::completed running errors/events_unhandled_error_subclass.js
::debug::starting to run errors/throw_custom_error.js
::debug::completed running errors/throw_custom_error.js
::debug::starting to run errors/throw_in_line_with_tabs.js
β errors/throw_in_line_with_tabs.js (593.554786ms)
::debug::completed running errors/throw_in_line_with_tabs.js
::debug::starting to run errors/throw_non_error.js
β errors/throw_non_error.js (582.279626ms)
::debug::completed running errors/throw_non_error.js
::debug::starting to run errors/promise_always_throw_unhandled.js
β errors/promise_always_throw_unhandled.js (573.654904ms)
β errors/force_colors.js (471.597062ms)
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected ... Lines skipped
'*force_colors.js:1\n' +
"throw new Error('Should include grayed stack trace')\n" +
...
'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:1230:14)\x1B[39m\n' +
+ '\x1B[90m at Module._extensions..js (node:internal*modules*cjs*loader:1284:10)\x1B[39m\n' +
+ '\x1B[90m at Module.load (node:internal*modules*cjs*loader:1081:32)\x1B[39m\n' +
+ '\x1B[90m at Module._load (node:internal*modules*cjs*loader:930:12)\x1B[39m\n' +
+ '\x1B[90m at Function.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:78:12)\x1B[39m\n' +
- '\x1B[90m at Module._compile (node:internal*modules*cjs*loader:1241:14)\x1B[39m\n' +
- '\x1B[90m at Module._extensions..js (node:internal*modules*cjs*loader:1295:10)\x1B[39m\n' +
- '\x1B[90
|
test/parallel/test-node-output-sourcemaps.mjs#L45
--- stdout ---
::debug::starting to run sourcemaps output
βΆ sourcemaps output
β source-map/output/source_map_disabled_by_api.js (205.205299ms)
::debug::starting to run source-map/output/source_map_disabled_by_api.js
::debug::completed running source-map/output/source_map_disabled_by_api.js
::debug::starting to run source-map/output/source_map_enabled_by_api.js
β source-map/output/source_map_enabled_by_api.js (273.713867ms)
β source-map/output/source_map_enclosing_function.js (235.076121ms)
::debug::completed running source-map/output/source_map_enabled_by_api.js
::debug::starting to run source-map/output/source_map_enclosing_function.js
::debug::completed running source-map/output/source_map_enclosing_function.js
::debug::starting to run source-map/output/source_map_eval.js
β source-map/output/source_map_eval.js (379.828166ms)
::debug::completed running source-map/output/source_map_eval.js
::debug::starting to run source-map/output/source_map_no_source_file.js
β source-map/output/source_map_no_source_file.js (396.779005ms)
β source-map/output/source_map_reference_error_tabs.js (363.597837ms)
::debug::completed running source-map/output/source_map_no_source_file.js
::debug::starting to run source-map/output/source_map_reference_error_tabs.js
::debug::completed running source-map/output/source_map_reference_error_tabs.js
::debug::starting to run source-map/output/source_map_sourcemapping_url_string.js
β source-map/output/source_map_sourcemapping_url_string.js (411.002306ms)
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
'Error: an exception.\n' +
' at Object.<anonymous> (*typescript-sourcemapping_url_string.ts:3:7)\n' +
+ ' at Module._compile (node:internal*modules*cjs*loader:1230:14)\n'
- ' at Module._compile (node:internal*modules*cjs*loader:1241:14)\n'
at assertSnapshot (/home/runner/work/node/node/test/common/assertSnapshot.js:52:12)
at async Module.spawnAndAssert (/home/runner/work/node/node/test/common/assertSnapshot.js:80:3)
at async TestContext.<anonymous> (file:///home/runner/work/node/node/test/parallel/test-node-output-sourcemaps.mjs:45:7)
at async Test.run (node:internal/test_runner/test:632:9)
at async Promise.all (index 6)
at async Suite.run (node:internal/test_runner/test:948:7)
at async startSubtest (node:internal/test_runner/harness:208:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'Error: an exception.\n at Object.<anonymous> (*typescript-sourcemapping_url_string.ts:3:7)\n at Module._compile (node:internal*modules*cjs*loader:1230:14)\n',
expected: 'Error: an exception.\n at Object.<anonymous> (*typescript-sourcemapping_url_string.ts:3:7)\n at Module._compile (node:internal*modules*cjs*loader:1241:14)\n',
operator: 'strictEqual'
}
β source-map/output/source_map_throw_catch.js (315.517857ms)
::error title=source-map/output/source_map_sourcemapping_url_string.js,file=test/parallel/test-node-output-sourcemaps.mjs,line=45,col=7::Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
'Error: an exception.\n' +
' at Object.<anonymous> (*typescript-sourcemapping_url_string.ts:3:7)\n' +
+ ' at Module._compile (node:internal*modules*cjs*loader:1230:14)\n'
- ' at Module._compile (node:internal*modules*cjs*loader:1241:14)\n'
at async Promise.all (index 6) {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
'Error: an exception.\n' +
' at Object.<anonymous> (*typescript-sourcemapping_url_string.ts:3:7)\n' +
+ ' at Module._compile (node:internal*modules*cjs*loader:1230:14)\n'
- ' at Module._compile (node:internal*modules*cjs*loader:1241:14)\n'
at assertSnapshot (/home/runner/work/node/node/test/common/assertSnapshot.js:52:12)
at async Module.spawnAndAssert (/home/runner/work/node/node/test/common/assertSnapshot.js:80:3)
|
|
The logs for this run have expired and are no longer available.
Loading