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
+56-29
Original file line number
Diff line number
Diff line change
@@ -632,15 +632,15 @@ not ok 65 - should print error cause
632
632
error: 'foo'
633
633
code: 'ERR_TEST_FAILURE'
634
634
stack: |-
635
+
*
636
+
*
637
+
*
638
+
*
639
+
[cause]: Error: bar
635
640
*
636
641
*
637
642
*
638
643
*
639
-
[cause]: Error: bar
640
-
*
641
-
*
642
-
*
643
-
*
644
644
...
645
645
# Subtest: should print error cause for nested errors
646
646
not ok 66 - should print error cause for nested errors
@@ -650,20 +650,20 @@ not ok 66 - should print error cause for nested errors
650
650
error: 'a'
651
651
code: 'ERR_TEST_FAILURE'
652
652
stack: |-
653
+
*
654
+
*
655
+
*
656
+
*
657
+
[cause]: Error: b
653
658
*
654
659
*
655
660
*
656
661
*
657
-
[cause]: Error: b
662
+
[cause]: Error: c
658
663
*
659
664
*
660
665
*
661
666
*
662
-
[cause]: Error: c
663
-
*
664
-
*
665
-
*
666
-
*
667
667
[cause]: [Error]
668
668
...
669
669
# Subtest: should handle cycles in error
@@ -674,20 +674,20 @@ not ok 67 - should handle cycles in error
674
674
error: 'b'
675
675
code: 'ERR_TEST_FAILURE'
676
676
stack: |-
677
+
*
678
+
*
679
+
*
680
+
*
681
+
[cause]: Error: c
677
682
*
678
683
*
679
684
*
680
685
*
681
-
[cause]: Error: c
686
+
[cause]: Error: d
682
687
*
683
688
*
684
689
*
685
690
*
686
-
[cause]: Error: d
687
-
*
688
-
*
689
-
*
690
-
*
691
691
[cause]: [Circular *1]
692
692
...
693
693
# Subtest: should handle primitive, undefined and null cause
@@ -699,10 +699,10 @@ not ok 67 - should handle cycles in error
699
699
error: 'foo'
700
700
code: 'ERR_TEST_FAILURE'
701
701
stack: |-
702
-
*
703
-
*
704
-
*
705
-
*
702
+
*
703
+
*
704
+
*
705
+
*
706
706
[cause]: 'something went wrong'
707
707
...
708
708
# Subtest: undefined cause
@@ -713,10 +713,11 @@ not ok 67 - should handle cycles in error
713
713
error: 'foo'
714
714
code: 'ERR_TEST_FAILURE'
715
715
stack: |-
716
-
*
717
-
*
718
-
*
719
-
*
716
+
*
717
+
*
718
+
*
719
+
*
720
+
[cause]: undefined
720
721
...
721
722
# Subtest: null cause
722
723
not ok 3 - null cause
@@ -734,8 +735,34 @@ not ok 68 - should handle primitive, undefined and null cause
734
735
error: '3 subtests failed'
735
736
code: 'ERR_TEST_FAILURE'
736
737
...
738
+
# Subtest: should handle case when cause throw
739
+
not ok 69 - should handle case when cause throw
740
+
---
741
+
duration_ms: *
742
+
failureType: 'testCodeFailure'
743
+
error: ''
744
+
code: 'ERR_TEST_FAILURE'
745
+
stack: |-
746
+
*
747
+
*
748
+
*
749
+
*
750
+
...
751
+
# Subtest: should handle case when stack throw
752
+
not ok 70 - should handle case when stack throw
753
+
---
754
+
duration_ms: *
755
+
failureType: 'testCodeFailure'
756
+
error: ''
757
+
code: 'ERR_TEST_FAILURE'
758
+
stack: |-
759
+
*
760
+
*
761
+
*
762
+
*
763
+
...
737
764
# Subtest: invalid subtest fail
738
-
not ok 69 - invalid subtest fail
765
+
not ok 71 - invalid subtest fail
739
766
---
740
767
duration_ms: *
741
768
failureType: 'parentAlreadyFinished'
@@ -744,17 +771,17 @@ not ok 69 - invalid subtest fail
744
771
stack: |-
745
772
*
746
773
...
747
-
1..69
774
+
1..71
748
775
# 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.
749
776
# 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.
750
777
# Warning: A resource generated asynchronous activity after the test ended. This activity created the error "Error: uncaught from outside of a test" which triggered an uncaughtException event, caught by the test runner.
751
778
# 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.
752
779
# 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.
753
780
# 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.
754
781
# 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