test_runner: support custom arguments in run()
#56629
Annotations
2 errors and 1 notice
test/es-module/test-loaders-workers-spawned.mjs#L79
--- stdout ---
βΆ Worker threads do not spawn infinitely
β should not trigger an infinite loop when using a loader exports no recognized hooks (157.752459ms)
::debug::starting to run Worker threads do not spawn infinitely
::debug::starting to run should not trigger an infinite loop when using a loader exports no recognized hooks
::debug::completed running should not trigger an infinite loop when using a loader exports no recognized hooks
β should support a CommonJS entry point and a loader that imports a CommonJS module (198.948375ms)
::debug::starting to run should support a CommonJS entry point and a loader that imports a CommonJS module
::debug::completed running should support a CommonJS entry point and a loader that imports a CommonJS module
β should support --require and --import along with using a loader written in CJS and CJS entry point (193.451125ms)
::debug::starting to run should support --require and --import along with using a loader written in CJS and CJS entry point
::debug::completed running should support --require and --import along with using a loader written in CJS and CJS entry point
β should support --require and --import along with using a loader written in ESM and ESM entry point (198.495375ms)
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/. Input:
'A\nC\nA\nB\nD\n'
at TestContext.<anonymous> (file:///Users/runner/work/node/node/test/es-module/test-loaders-workers-spawned.mjs:79:12)
at async Test.run (node:internal/test_runner/test:931:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'A\nC\nA\nB\nD\n',
expected: /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/,
operator: 'match'
}
β Worker threads do not spawn infinitely (750.297459ms)
::debug::starting to run should support --require and --import along with using a loader written in ESM and ESM entry point
::error title=should support --require and --import along with using a loader written in ESM and ESM entry point,file=test/es-module/test-loaders-workers-spawned.mjs,line=79,col=12::[Error [ERR_TEST_FAILURE]: The input did not match the regular expression /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/. Input:
'A\nC\nA\nB\nD\n'
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/. Input:
'A\nC\nA\nB\nD\n'
at TestContext.<anonymous> (file:///Users/runner/work/node/node/test/es-module/test-loaders-workers-spawned.mjs:79:12)
at async Test.run (node:internal/test_runner/test:931:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'A\nC\nA\nB\nD\n',
expected: /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/,
operator: 'match'
}
}
βΉ tests 4
βΉ suites 1
βΉ pass 3
βΉ fail 1
βΉ cancelled 0
βΉ skipped 0
βΉ todo 0
βΉ duration_ms 808.822333
β failing tests:
test at test/es-module/test-loaders-workers-spawned.mjs:63:3
β should support --require and --import along with using a loader written in ESM and ESM entry point (198.495375ms)
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/. Input:
'A\nC\nA\nB\nD\n'
at TestContext.<anonymous> (file:///Users/runner/work/node/node/test/es-module/test-loaders-workers-spawned.mjs:79:12)
at async Test.run (node:internal/test_runner/test:931:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'A\nC\nA\nB\nD\n',
expected: /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/,
operator: 'match'
}
::notice file=test/es-module/test-loaders-workers-spawned.mjs,line=1,col=1::tests 4
::notice file=test/es-module/test-loaders-work
|
|
|
The logs for this run have expired and are no longer available.
Loading