test: use unusual chars in the path to ensure our tests are robust #56688
Annotations
2 errors and 1 notice
Re-run test in a folder whose name contains unusual chars:
test/es-module/test-loaders-workers-spawned.mjs#L1
--- stdout ---
::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
::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
::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
::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=dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/es-module/test-loaders-workers-spawned.mjs,line=63,col=3::[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/dir%2520with%20$unusual%22chars%3F'%C3%A5%C3%9F%E2%88%82%C6%92%C2%A9%E2%88%86%C2%AC%E2%80%A6%60/test/es-module/test-loaders-workers-spawned.mjs:79:12)
at async Test.run (node:internal/test_runner/test:935:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:633: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=dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/es-module/test-loaders-workers-spawned.mjs,line=1,col=1::tests 4
::notice file=dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/es-module/test-loaders-workers-spawned.mjs,line=1,col=1::suites 1
::notice file=dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/es-module/test-loaders-workers-spawned.mjs,line=1,col=1::pass 3
::notice file=dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/es-module/test-loaders-workers-spawned.mjs,line=1,col=1::fail 1
::notice file=dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/es-module/test-loaders-workers-spawned.mjs,line=1,col=1::cancelled 0
::notice file=dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/es-module/test-loaders-workers-spawned.mjs,line=1,col=1::skipped 0
::notice file=dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/es-module/test-loaders-workers-spawned.mjs,line=1,col=1::todo 0
::notice file=dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/es-module/test-loaders-workers-spawned.mjs,line=1,col=1::duration_ms 937.334541
::group::Test results (3 passed, 1 failed)
::notice::
::endgroup::
Command: out/Release/node --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout "/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/es-module/test-loaders-workers-spawned.mjs"
|
Re-run test in a folder whose name contains unusual chars
Process completed with exit code 1.
|
Post Set up sccache
0% - 0 hits, 0 misses, 0 errors
|
Loading