mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
8cf33850be
PR-URL: https://github.com/nodejs/node/pull/44060 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
35 lines
650 B
Plaintext
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 *
|