node/test/message/test_runner_unresolved_promise.out
Moshe Atlow 8cf33850be
test_runner: verbous error when entire test tree is canceled
PR-URL: https://github.com/nodejs/node/pull/44060
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2022-08-02 06:52:41 +01:00

35 lines
650 B
Plaintext

TAP version 13
# Subtest: pass
ok 1 - pass
---
duration_ms: *
...
# Subtest: never resolving promise
not ok 2 - never resolving promise
---
duration_ms: *
failureType: 'cancelledByParent'
error: 'Promise resolution is still pending but the event loop has already resolved'
code: 'ERR_TEST_FAILURE'
stack: |-
*
...
# Subtest: fail
not ok 3 - fail
---
duration_ms: 0
failureType: 'cancelledByParent'
error: 'Promise resolution is still pending but the event loop has already resolved'
code: 'ERR_TEST_FAILURE'
stack: |-
*
...
1..3
# tests 3
# pass 1
# fail 0
# cancelled 2
# skipped 0
# todo 0
# duration_ms *