test_runner: fix #50665 .skip
, .todo
and .only
missing in subtests
#50673
+85
−0
Annotations
10 errors
test/parallel/test-abortsignal-any.mjs#L1
--- stdout ---
::debug::starting to run AbortSignal.any()
▶ AbortSignal.any()
✖ should throw when not receiving an array (0.644417ms)
'test did not finish before its parent and was cancelled'
✖ should throw when input contains non-signal values
'test did not finish before its parent and was cancelled'
✖ creates a non-aborted signal for an empty input
'test did not finish before its parent and was cancelled'
✖ returns a new signal
'test did not finish before its parent and was cancelled'
✖ returns an aborted signal if input has an aborted signal
'test did not finish before its parent and was cancelled'
::debug::starting to run should throw when not receiving an array
::error title=should throw when not receiving an array,file=test/parallel/test-abortsignal-any.mjs,line=7,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should throw when input contains non-signal values
::error title=should throw when input contains non-signal values,file=test/parallel/test-abortsignal-any.mjs,line=14,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run creates a non-aborted signal for an empty input
::error title=creates a non-aborted signal for an empty input,file=test/parallel/test-abortsignal-any.mjs,line=24,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run returns a new signal
::error title=returns a new signal,file=test/parallel/test-abortsignal-any.mjs,line=30,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run returns an aborted signal if input has an aborted signal
::error title=returns an aborted signal if input has an aborted signal,file=test/parallel/test-abortsignal-any.mjs,line=36,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run returns an aborted signal with the reason of first aborted signal input
✖ returns an aborted signal with the reason of first aborted signal input
'test did not finish before its parent and was cancelled'
✖ returns the correct signal in the event target
'test did not finish before its parent and was cancelled'
✖ aborts with reason of first aborted signal
'test did not finish before its parent and was cancelled'
✖ can accept the same signal more than once
'test did not finish before its parent and was cancelled'
✖ handles deeply aborted signals
'test did not finish before its parent and was cancelled'
✖ executes abort handlers in correct order
'test did not finish before its parent and was cancelled'
::error title=returns an aborted signal with the reason of first aborted signal input,file=test/parallel/test-abortsignal-any.mjs,line=43,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run returns the correct signal in the event target
::error title=returns the correct signal in the event target,file=test/parallel/test-abortsignal-any.mjs,line=50,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledBy
|
test/parallel/test-assert-calltracker-getCalls.js#L1
--- stderr ---
(node:56614) [DEP0173] DeprecationWarning: assert.CallTracker is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
--- stdout ---
▶ assert.CallTracker.getCalls()
✖ should return empty list when no calls (0.515708ms)
'test did not finish before its parent and was cancelled'
✖ should return calls
'test did not finish before its parent and was cancelled'
::debug::starting to run assert.CallTracker.getCalls()
::debug::starting to run should return empty list when no calls
::error title=should return empty list when no calls,file=test/parallel/test-assert-calltracker-getCalls.js,line=10,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should return calls
::error title=should return calls,file=test/parallel/test-assert-calltracker-getCalls.js,line=15,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
✖ should throw when getting calls of a non-tracked function
'test did not finish before its parent and was cancelled'
✖ should return a frozen object
'test did not finish before its parent and was cancelled'
▶ assert.CallTracker.getCalls() (0.717375ms)
ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:456:29)
at node:internal/per_context/primordials:488:9
at Array.map (<anonymous>)
::debug::starting to run should throw when getting calls of a non-tracked function
::error title=should throw when getting calls of a non-tracked function,file=test/parallel/test-assert-calltracker-getCalls.js,line=26,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should return a frozen object
::error title=should return a frozen object,file=test/parallel/test-assert-calltracker-getCalls.js,line=32,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::error title=assert.CallTracker.getCalls(),file=test/parallel/test-assert-calltracker-getCalls.js,line=7,col=1::[Error [ERR_TEST_FAILURE]: ArrayPrototypeForEach is not defined] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:456:29)
at node:internal/per_context/primordials:488:9
at Array.map (<anonymous>)
}
::debug::starting to run assert.CallTracker.reset()
::debug::starting to run should reset calls
▶ assert.CallTracker.reset()
✖ should reset calls (0.1085ms)
'test did not finish before its parent and was cancelled'
✖ should reset all calls
'test did not finish before its parent and was cancelled'
✖ should th
|
test/parallel/test-assert-esm-cjs-message-verify.js#L1
--- stdout ---
▶ ensure the assert.ok throwing similar error messages for esm and cjs files
✖ should return code 1 for each command (1.411958ms)
'test did not finish before its parent and was cancelled'
▶ ensure the assert.ok throwing similar error messages for esm and cjs files (1.666958ms)
ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:456:29)
at node:internal/per_context/primordials:488:9
at Array.map (<anonymous>)
::debug::starting to run ensure the assert.ok throwing similar error messages for esm and cjs files
::debug::starting to run should return code 1 for each command
::error title=should return code 1 for each command,file=test/parallel/test-assert-esm-cjs-message-verify.js,line=30,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::error title=ensure the assert.ok throwing similar error messages for esm and cjs files,file=test/parallel/test-assert-esm-cjs-message-verify.js,line=26,col=1::[Error [ERR_TEST_FAILURE]: ArrayPrototypeForEach is not defined] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:456:29)
at node:internal/per_context/primordials:488:9
at Array.map (<anonymous>)
}
ℹ Error: A resource generated asynchronous activity after the test ended. This activity created the error "ReferenceError: ArrayPrototypeForEach is not defined" which triggered an unhandledRejection event, caught by the test runner.
ℹ tests 1
ℹ suites 1
ℹ pass 0
ℹ fail 0
ℹ cancelled 1
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 46.046292
✖ failing tests:
test at test/parallel/test-assert-esm-cjs-message-verify.js:30:3
✖ should return code 1 for each command (1.411958ms)
'test did not finish before its parent and was cancelled'
test at test/parallel/test-assert-esm-cjs-message-verify.js:26:1
✖ ensure the assert.ok throwing similar error messages for esm and cjs files (1.666958ms)
ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:456:29)
at node:internal/per_context/primordials:488:9
at Array.map (<anonymous>)
::group::Test results (0 passed, 0 failed)
::notice::Error:: A resource generated asynchronous activity after the test ended. This activity created the error "ReferenceError: ArrayPrototypeForEach is not defined" which triggered an unhandledRejection event, caught by the test runner.
Total Tests: 1
Suites 📂: 1
Passed ✅: 0
Failed ❌: 0
Canceled 🚫: 1
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 46.046ms
::endgroup::
Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/gi
|
test/parallel/test-cli-print-promise.mjs#L1
--- stdout ---
::debug::starting to run --print with a promise
::debug::starting to run should handle directly-fulfilled promises
▶ --print with a promise
✖ should handle directly-fulfilled promises (0.698958ms)
'test did not finish before its parent and was cancelled'
✖ should handle promises fulfilled after one tick
'test did not finish before its parent and was cancelled'
✖ should handle promise that never settles
'test did not finish before its parent and was cancelled'
✖ should output something if process exits before promise settles
'test did not finish before its parent and was cancelled'
✖ should respect exit code when process exits before promise settles
'test did not finish before its parent and was cancelled'
✖ should handle rejected promises
'test did not finish before its parent and was cancelled'
::error title=should handle directly-fulfilled promises,file=test/parallel/test-cli-print-promise.mjs,line=8,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should handle promises fulfilled after one tick
::error title=should handle promises fulfilled after one tick,file=test/parallel/test-cli-print-promise.mjs,line=22,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should handle promise that never settles
::error title=should handle promise that never settles,file=test/parallel/test-cli-print-promise.mjs,line=36,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should output something if process exits before promise settles
::error title=should output something if process exits before promise settles,file=test/parallel/test-cli-print-promise.mjs,line=50,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should respect exit code when process exits before promise settles
::error title=should respect exit code when process exits before promise settles,file=test/parallel/test-cli-print-promise.mjs,line=64,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should handle rejected promises
::error title=should handle rejected promises,file=test/parallel/test-cli-print-promise.mjs,line=78,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
✖ should handle promises that reject after one tick
'test did not finish before its parent and was cancelled'
✖ should handle thenable that resolves
'test did not finish before its parent and was cancelled'
✖ should handle thenable that rejects
'test did not finish before its parent and was cancelled'
✖ should handle Promise.prototype
'test did not finish before its parent and was cancelled'
▶ --print with a promise (0.919458ms)
ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal
|
test/parallel/test-compression-decompression-stream.js#L1
--- stdout ---
▶ DecompressionStream kInspect method
✖ should return a predictable inspection string with DecompressionStream (0.5895ms)
'test did not finish before its parent and was cancelled'
▶ DecompressionStream kInspect method (0.77725ms)
ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:456:29)
at node:internal/per_context/primordials:488:9
at Array.map (<anonymous>)
::debug::starting to run DecompressionStream kInspect method
::debug::starting to run should return a predictable inspection string with DecompressionStream
::error title=should return a predictable inspection string with DecompressionStream,file=test/parallel/test-compression-decompression-stream.js,line=18,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::error title=DecompressionStream kInspect method,file=test/parallel/test-compression-decompression-stream.js,line=17,col=1::[Error [ERR_TEST_FAILURE]: ArrayPrototypeForEach is not defined] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:456:29)
at node:internal/per_context/primordials:488:9
at Array.map (<anonymous>)
}
▶ CompressionStream kInspect method
✖ should return a predictable inspection string with CompressionStream (0.086333ms)
'test did not finish before its parent and was cancelled'
▶ CompressionStream kInspect method (0.253041ms)
ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:456:29)
at node:internal/per_context/primordials:488:9
at Array.map (<anonymous>)
::debug::starting to run CompressionStream kInspect method
::debug::starting to run should return a predictable inspection string with CompressionStream
::error title=should return a predictable inspection string with CompressionStream,file=test/parallel/test-compression-decompression-stream.js,line=31,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::error title=CompressionStream kInspect method,file=test/parallel/test-compression-decompression-stream.js,line=30,col=1::[Error [ERR_TEST_FAILURE]: ArrayPrototypeForEach is not defined] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:2
|
test/parallel/test-dgram-async-dispose.mjs#L1
--- stdout ---
▶ dgram.Socket[Symbol.asyncDispose]()
✖ should close the socket (0.982916ms)
'test did not finish before its parent and was cancelled'
✖ should resolve even if the socket is already closed
'test did not finish before its parent and was cancelled'
▶ dgram.Socket[Symbol.asyncDispose]() (1.368375ms)
ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:456:29)
at node:internal/per_context/primordials:488:9
at Array.map (<anonymous>)
::debug::starting to run dgram.Socket[Symbol.asyncDispose]()
::debug::starting to run should close the socket
::error title=should close the socket,file=test/parallel/test-dgram-async-dispose.mjs,line=7,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should resolve even if the socket is already closed
::error title=should resolve even if the socket is already closed,file=test/parallel/test-dgram-async-dispose.mjs,line=15,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::error title=dgram.Socket[Symbol.asyncDispose](),file=test/parallel/test-dgram-async-dispose.mjs,line=6,col=1::[Error [ERR_TEST_FAILURE]: ArrayPrototypeForEach is not defined] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:456:29)
at node:internal/per_context/primordials:488:9
at Array.map (<anonymous>)
}
ℹ Error: A resource generated asynchronous activity after the test ended. This activity created the error "ReferenceError: ArrayPrototypeForEach is not defined" which triggered an unhandledRejection event, caught by the test runner.
ℹ tests 2
ℹ suites 1
ℹ pass 0
ℹ fail 0
ℹ cancelled 2
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 58.745625
✖ failing tests:
test at test/parallel/test-dgram-async-dispose.mjs:7:3
✖ should close the socket (0.982916ms)
'test did not finish before its parent and was cancelled'
test at test/parallel/test-dgram-async-dispose.mjs:15:3
✖ should resolve even if the socket is already closed
'test did not finish before its parent and was cancelled'
test at test/parallel/test-dgram-async-dispose.mjs:6:1
✖ dgram.Socket[Symbol.asyncDispose]() (1.368375ms)
ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:456:29)
at node:internal/per_context/primordials:488:9
at Array.map (<anonymous>)
::group::Test results (0 passed, 0 failed)
::notice::Error:: A resource generated asynchronous activit
|
test/parallel/test-dotenv-edge-cases.js#L1
--- stdout ---
▶ .env supports edge cases
✖ supports multiple declarations (0.678875ms)
'test did not finish before its parent and was cancelled'
✖ supports absolute paths
'test did not finish before its parent and was cancelled'
::debug::starting to run .env supports edge cases
::debug::starting to run supports multiple declarations
::error title=supports multiple declarations,file=test/parallel/test-dotenv-edge-cases.js,line=14,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run supports absolute paths
::error title=supports absolute paths,file=test/parallel/test-dotenv-edge-cases.js,line=30,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
✖ should handle non-existent .env file
'test did not finish before its parent and was cancelled'
✖ should not override existing environment variables but introduce new vars
'test did not finish before its parent and was cancelled'
✖ should handle multiline quoted values
'test did not finish before its parent and was cancelled'
✖ should handle empty value without a newline at the EOF
'test did not finish before its parent and was cancelled'
▶ .env supports edge cases (1.018834ms)
ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:456:29)
at node:internal/per_context/primordials:488:9
at Array.map (<anonymous>)
::debug::starting to run should handle non-existent .env file
::error title=should handle non-existent .env file,file=test/parallel/test-dotenv-edge-cases.js,line=42,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should not override existing environment variables but introduce new vars
::error title=should not override existing environment variables but introduce new vars,file=test/parallel/test-dotenv-edge-cases.js,line=55,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should handle multiline quoted values
::error title=should handle multiline quoted values,file=test/parallel/test-dotenv-edge-cases.js,line=69,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should handle empty value without a newline at the EOF
::error title=should handle empty value without a newline at the EOF,file=test/parallel/test-dotenv-edge-cases.js,line=85,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::error title=.env supports edge cases,file=test/parallel/test-dotenv-edge-cases.js,line=12,col=1::[Error [ERR_TEST_FAILURE]: ArrayPrototypeForEach is not defined] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: ReferenceError: ArrayPrototypeForEach is not defined
at ne
|
test/parallel/test-dotenv-node-options.js#L1
--- stdout ---
▶ .env supports NODE_OPTIONS
✖ should have access to permission scope (0.493166ms)
'test did not finish before its parent and was cancelled'
✖ validate only read permissions are enabled
'test did not finish before its parent and was cancelled'
✖ TZ environment variable
'test did not finish before its parent and was cancelled'
::debug::starting to run .env supports NODE_OPTIONS
::debug::starting to run should have access to permission scope
::error title=should have access to permission scope,file=test/parallel/test-dotenv-node-options.js,line=15,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run validate only read permissions are enabled
::error title=validate only read permissions are enabled,file=test/parallel/test-dotenv-node-options.js,line=32,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run TZ environment variable
::error title=TZ environment variable,file=test/parallel/test-dotenv-node-options.js,line=47,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
▶ .env supports NODE_OPTIONS (0.697583ms)
ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:456:29)
at node:internal/per_context/primordials:488:9
at Array.map (<anonymous>)
::error title=.env supports NODE_OPTIONS,file=test/parallel/test-dotenv-node-options.js,line=13,col=1::[Error [ERR_TEST_FAILURE]: ArrayPrototypeForEach is not defined] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/test:791:17)
at node:internal/test_runner/test:1253:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:456:29)
at node:internal/per_context/primordials:488:9
at Array.map (<anonymous>)
}
ℹ Error: A resource generated asynchronous activity after the test ended. This activity created the error "ReferenceError: ArrayPrototypeForEach is not defined" which triggered an unhandledRejection event, caught by the test runner.
ℹ tests 3
ℹ suites 1
ℹ pass 0
ℹ fail 0
ℹ cancelled 3
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 33.386125
✖ failing tests:
test at test/parallel/test-dotenv-node-options.js:15:3
✖ should have access to permission scope (0.493166ms)
'test did not finish before its parent and was cancelled'
test at test/parallel/test-dotenv-node-options.js:32:3
✖ validate only read permissions are enabled
'test did not finish before its parent and was cancelled'
test at test/parallel/test-dotenv-node-options.js:47:3
✖ TZ environment variable
'test did not finish before its parent and was cancelled'
test at test/parallel/test-dotenv-node-options.js:13:1
✖ .env supports NODE_OPTIONS (0.697583ms)
ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at
|
test/parallel/test-events-add-abort-listener.mjs#L1
--- stdout ---
▶ events.addAbortListener
✖ should throw if signal not provided (0.575ms)
'test did not finish before its parent and was cancelled'
::debug::starting to run events.addAbortListener
::debug::starting to run should throw if signal not provided
::error title=should throw if signal not provided,file=test/parallel/test-events-add-abort-listener.mjs,line=7,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should throw if provided signal is invalid
✖ should throw if provided signal is invalid
'test did not finish before its parent and was cancelled'
✖ should throw if listener is not a function
'test did not finish before its parent and was cancelled'
✖ should return a Disposable
'test did not finish before its parent and was cancelled'
✖ should execute the listener immediately for aborted runners
'test did not finish before its parent and was cancelled'
✖ should execute the listener even when event propagation stopped
'test did not finish before its parent and was cancelled'
✖ should remove event listeners when disposed
'test did not finish before its parent and was cancelled'
::error title=should throw if provided signal is invalid,file=test/parallel/test-events-add-abort-listener.mjs,line=11,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should throw if listener is not a function
::error title=should throw if listener is not a function,file=test/parallel/test-events-add-abort-listener.mjs,line=17,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should return a Disposable
::error title=should return a Disposable,file=test/parallel/test-events-add-abort-listener.mjs,line=24,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should execute the listener immediately for aborted runners
::error title=should execute the listener immediately for aborted runners,file=test/parallel/test-events-add-abort-listener.mjs,line=31,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should execute the listener even when event propagation stopped
::error title=should execute the listener even when event propagation stopped,file=test/parallel/test-events-add-abort-listener.mjs,line=36,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
::debug::starting to run should remove event listeners when disposed
::error title=should remove event listeners when disposed,file=test/parallel/test-events-add-abort-listener.mjs,line=49,col=3::[Error [ERR_TEST_FAILURE]: test did not finish before its parent and was cancelled] { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'test did not finish before its parent and was cancelled' }
▶ events.addAbortListener (0.803666ms)
ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.start (node:internal/test_runner/t
|
test/parallel/test-fetch-mock.js#L1
--- stderr ---
node:internal/test_runner/test:238
ArrayPrototypeForEach(['skip', 'todo', 'only'], (keyword) => {
^
ReferenceError: ArrayPrototypeForEach is not defined
at new TestContext (node:internal/test_runner/test:238:5)
at Test.getRunArgs (node:internal/test_runner/test:805:17)
at Test.run (node:internal/test_runner/test:844:27)
at Test.finalize (node:internal/test_runner/test:1065:17)
at Test.processReadySubtestRange (node:internal/test_runner/test:637:15)
at Test.postRun (node:internal/test_runner/test:992:19)
at Test.postRun (node:internal/test_runner/test:965:17)
at process.exitHandler (node:internal/test_runner/harness:168:10)
at process.emit (node:events:520:28)
Node.js v23.0.0-pre
--- stdout ---
✖ should correctly stub globalThis.fetch (1.713916ms)
'Promise resolution is still pending but the event loop has already resolved'
ℹ Error: A resource generated asynchronous activity after the test ended. This activity created the error "ReferenceError: ArrayPrototypeForEach is not defined" which triggered an uncaughtException event, caught by the test runner.
ℹ tests 1
ℹ suites 0
ℹ pass 0
ℹ fail 0
ℹ cancelled 1
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 31.355958
✖ failing tests:
test at test/parallel/test-fetch-mock.js:6:1
✖ should correctly stub globalThis.fetch (1.713916ms)
'Promise resolution is still pending but the event loop has already resolved'
::debug::starting to run should correctly stub globalThis.fetch
::error title=should correctly stub globalThis.fetch,file=test/parallel/test-fetch-mock.js,line=6,col=1::Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved
at process.emit (node:events:520:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'cancelledByParent',
cause: 'Promise resolution is still pending but the event loop has already resolved'
}
::group::Test results (0 passed, 0 failed)
::notice::Error:: A resource generated asynchronous activity after the test ended. This activity created the error "ReferenceError: ArrayPrototypeForEach is not defined" which triggered an uncaughtException event, caught by the test runner.
Total Tests: 1
Suites 📂: 0
Passed ✅: 0
Failed ❌: 0
Canceled 🚫: 1
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 31.356ms
::endgroup::
Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-fetch-mock.js
|
This job failed
Loading