You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: test/message/test_runner_output.out
+78-4
Original file line number
Diff line number
Diff line change
@@ -447,6 +447,10 @@ not ok 50 - callback called twice in future tick
447
447
code: 'ERR_TEST_FAILURE'
448
448
stack: |-
449
449
*
450
+
*
451
+
*
452
+
*
453
+
*
450
454
...
451
455
# Subtest: callback async throw
452
456
not ok 51 - callback async throw
@@ -620,8 +624,78 @@ not ok 64 - unfinished test with unhandledRejection
620
624
*
621
625
*
622
626
...
627
+
# Subtest: should print error cause
628
+
not ok 65 - should print error cause
629
+
---
630
+
duration_ms: *
631
+
failureType: 'testCodeFailure'
632
+
error: 'foo'
633
+
code: 'ERR_TEST_FAILURE'
634
+
stack: |-
635
+
*
636
+
*
637
+
*
638
+
*
639
+
*
640
+
*
641
+
*
642
+
*
643
+
*
644
+
*
645
+
*
646
+
*
647
+
*
648
+
...
649
+
# Subtest: should print error cause for nested errors
650
+
not ok 66 - should print error cause for nested errors
651
+
---
652
+
duration_ms: *
653
+
failureType: 'testCodeFailure'
654
+
error: 'a'
655
+
code: 'ERR_TEST_FAILURE'
656
+
stack: |-
657
+
*
658
+
*
659
+
*
660
+
*
661
+
*
662
+
*
663
+
*
664
+
*
665
+
*
666
+
*
667
+
*
668
+
*
669
+
*
670
+
*
671
+
*
672
+
...
673
+
# Subtest: should handle cycles in error
674
+
not ok 67 - should handle cycles in error
675
+
---
676
+
duration_ms: *
677
+
failureType: 'testCodeFailure'
678
+
error: 'b'
679
+
code: 'ERR_TEST_FAILURE'
680
+
stack: |-
681
+
*
682
+
*
683
+
*
684
+
*
685
+
*
686
+
*
687
+
*
688
+
*
689
+
*
690
+
*
691
+
*
692
+
*
693
+
*
694
+
*
695
+
*
696
+
...
623
697
# Subtest: invalid subtest fail
624
-
not ok 65 - invalid subtest fail
698
+
not ok 68 - invalid subtest fail
625
699
---
626
700
duration_ms: *
627
701
failureType: 'parentAlreadyFinished'
@@ -630,16 +704,16 @@ not ok 65 - invalid subtest fail
630
704
stack: |-
631
705
*
632
706
...
633
-
1..65
707
+
1..68
634
708
# Warning: Test "unhandled rejection - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: rejected from unhandled rejection fail" and would have caused the test to fail, but instead triggered an unhandledRejection event.
635
709
# Warning: Test "async unhandled rejection - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: rejected from async unhandled rejection fail" and would have caused the test to fail, but instead triggered an unhandledRejection event.
636
710
# Warning: Test "immediate throw - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: thrown from immediate throw fail" and would have caused the test to fail, but instead triggered an uncaughtException event.
637
711
# Warning: Test "immediate reject - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: rejected from immediate reject fail" and would have caused the test to fail, but instead triggered an unhandledRejection event.
638
712
# Warning: Test "callback called twice in different ticks" generated asynchronous activity after the test ended. This activity created the error "Error [ERR_TEST_FAILURE]: callback invoked multiple times" and would have caused the test to fail, but instead triggered an uncaughtException event.
639
713
# Warning: Test "callback async throw after done" generated asynchronous activity after the test ended. This activity created the error "Error: thrown from callback async throw after done" and would have caused the test to fail, but instead triggered an uncaughtException event.
Copy file name to clipboardexpand all lines: test/message/test_runner_output_cli.out
+76-2
Original file line number
Diff line number
Diff line change
@@ -448,6 +448,10 @@ TAP version 13
448
448
code: 'ERR_TEST_FAILURE'
449
449
stack: |-
450
450
*
451
+
*
452
+
*
453
+
*
454
+
*
451
455
...
452
456
# Subtest: callback async throw
453
457
not ok 51 - callback async throw
@@ -621,8 +625,78 @@ TAP version 13
621
625
*
622
626
*
623
627
...
628
+
# Subtest: should print error cause
629
+
not ok 65 - should print error cause
630
+
---
631
+
duration_ms: *
632
+
failureType: 'testCodeFailure'
633
+
error: 'foo'
634
+
code: 'ERR_TEST_FAILURE'
635
+
stack: |-
636
+
*
637
+
*
638
+
*
639
+
*
640
+
*
641
+
*
642
+
*
643
+
*
644
+
*
645
+
*
646
+
*
647
+
*
648
+
*
649
+
...
650
+
# Subtest: should print error cause for nested errors
651
+
not ok 66 - should print error cause for nested errors
652
+
---
653
+
duration_ms: *
654
+
failureType: 'testCodeFailure'
655
+
error: 'a'
656
+
code: 'ERR_TEST_FAILURE'
657
+
stack: |-
658
+
*
659
+
*
660
+
*
661
+
*
662
+
*
663
+
*
664
+
*
665
+
*
666
+
*
667
+
*
668
+
*
669
+
*
670
+
*
671
+
*
672
+
*
673
+
...
674
+
# Subtest: should handle cycles in error
675
+
not ok 67 - should handle cycles in error
676
+
---
677
+
duration_ms: *
678
+
failureType: 'testCodeFailure'
679
+
error: 'b'
680
+
code: 'ERR_TEST_FAILURE'
681
+
stack: |-
682
+
*
683
+
*
684
+
*
685
+
*
686
+
*
687
+
*
688
+
*
689
+
*
690
+
*
691
+
*
692
+
*
693
+
*
694
+
*
695
+
*
696
+
*
697
+
...
624
698
# Subtest: invalid subtest fail
625
-
not ok 65 - invalid subtest fail
699
+
not ok 68 - invalid subtest fail
626
700
---
627
701
duration_ms: *
628
702
failureType: 'parentAlreadyFinished'
@@ -631,7 +705,7 @@ TAP version 13
631
705
stack: |-
632
706
*
633
707
...
634
-
1..65
708
+
1..68
635
709
# Warning: Test "unhandled rejection - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: rejected from unhandled rejection fail" and would have caused the test to fail, but instead triggered an unhandledRejection event.
636
710
# Warning: Test "async unhandled rejection - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: rejected from async unhandled rejection fail" and would have caused the test to fail, but instead triggered an unhandledRejection event.
637
711
# Warning: Test "immediate throw - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: thrown from immediate throw fail" and would have caused the test to fail, but instead triggered an uncaughtException event.
Copy file name to clipboardexpand all lines: test/message/test_runner_output_spec_reporter.out
+61-2
Original file line number
Diff line number
Diff line change
@@ -262,6 +262,65 @@
262
262
*
263
263
*
264
264
265
+
should print error cause (*ms)
266
+
Error: foo
267
+
*
268
+
*
269
+
*
270
+
*
271
+
*
272
+
*
273
+
*
274
+
*
275
+
*
276
+
*
277
+
*
278
+
*
279
+
*
280
+
*
281
+
282
+
should print error cause for nested errors (*ms)
283
+
Error: a
284
+
*
285
+
*
286
+
*
287
+
*
288
+
*
289
+
*
290
+
*
291
+
*
292
+
*
293
+
*
294
+
*
295
+
*
296
+
*
297
+
*
298
+
*
299
+
*
300
+
*
301
+
*
302
+
303
+
should handle cycles in error (*ms)
304
+
<ref *1> Error: b
305
+
*
306
+
*
307
+
*
308
+
*
309
+
*
310
+
*
311
+
*
312
+
*
313
+
*
314
+
*
315
+
*
316
+
*
317
+
*
318
+
*
319
+
*
320
+
*
321
+
*
322
+
*
323
+
265
324
invalid subtest fail (*ms)
266
325
'test could not be started because its parent finished'
267
326
@@ -271,9 +330,9 @@
271
330
Warning: Test "immediate reject - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: rejected from immediate reject fail" and would have caused the test to fail, but instead triggered an unhandledRejection event.
272
331
Warning: Test "callback called twice in different ticks" generated asynchronous activity after the test ended. This activity created the error "Error [ERR_TEST_FAILURE]: callback invoked multiple times" and would have caused the test to fail, but instead triggered an uncaughtException event.
273
332
Warning: Test "callback async throw after done" generated asynchronous activity after the test ended. This activity created the error "Error: thrown from callback async throw after done" and would have caused the test to fail, but instead triggered an uncaughtException event.
0 commit comments