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
+42-4Lines changed: 42 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -624,8 +624,46 @@ not ok 64 - unfinished test with unhandledRejection
624
624
*
625
625
*
626
626
...
627
+
# Subtest: assertion errors display actual and expected properly
628
+
not ok 65 - assertion errors display actual and expected properly
629
+
---
630
+
duration_ms: *
631
+
failureType: 'testCodeFailure'
632
+
error: |-
633
+
Expected values to be loosely deep-equal:
634
+
635
+
{
636
+
bar: 1,
637
+
foo: 1
638
+
}
639
+
640
+
should loosely deep-equal
641
+
642
+
<ref *1> {
643
+
bar: 2,
644
+
c: [Circular *1]
645
+
}
646
+
code: 'ERR_ASSERTION'
647
+
name: 'AssertionError'
648
+
expected:
649
+
bar: 2
650
+
c: <Circular>
651
+
actual:
652
+
foo: 1
653
+
bar: 1
654
+
operator: 'deepEqual'
655
+
stack: |-
656
+
*
657
+
*
658
+
*
659
+
*
660
+
*
661
+
*
662
+
*
663
+
*
664
+
...
627
665
# Subtest: invalid subtest fail
628
-
not ok 65 - invalid subtest fail
666
+
not ok 66 - invalid subtest fail
629
667
---
630
668
duration_ms: *
631
669
failureType: 'parentAlreadyFinished'
@@ -634,18 +672,18 @@ not ok 65 - invalid subtest fail
634
672
stack: |-
635
673
*
636
674
...
637
-
1..65
675
+
1..66
638
676
# 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.
639
677
# 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.
640
678
# 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.
641
679
# 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.
642
680
# 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.
643
681
# 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.
644
682
# 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
+42-4Lines changed: 42 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -624,8 +624,46 @@ not ok 64 - unfinished test with unhandledRejection
624
624
*
625
625
*
626
626
...
627
+
# Subtest: assertion errors display actual and expected properly
628
+
not ok 65 - assertion errors display actual and expected properly
629
+
---
630
+
duration_ms: *
631
+
failureType: 'testCodeFailure'
632
+
error: |-
633
+
Expected values to be loosely deep-equal:
634
+
635
+
{
636
+
bar: 1,
637
+
foo: 1
638
+
}
639
+
640
+
should loosely deep-equal
641
+
642
+
<ref *1> {
643
+
bar: 2,
644
+
c: [Circular *1]
645
+
}
646
+
code: 'ERR_ASSERTION'
647
+
name: 'AssertionError'
648
+
expected:
649
+
bar: 2
650
+
c: '<Circular>'
651
+
actual:
652
+
foo: 1
653
+
bar: 1
654
+
operator: 'deepEqual'
655
+
stack: |-
656
+
*
657
+
*
658
+
*
659
+
*
660
+
*
661
+
*
662
+
*
663
+
*
664
+
...
627
665
# Subtest: invalid subtest fail
628
-
not ok 65 - invalid subtest fail
666
+
not ok 66 - invalid subtest fail
629
667
---
630
668
duration_ms: *
631
669
failureType: 'parentAlreadyFinished'
@@ -641,11 +679,11 @@ not ok 65 - invalid subtest fail
641
679
# 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.
642
680
# 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.
643
681
# 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_spec_reporter.out
+31-2Lines changed: 31 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -265,6 +265,35 @@
265
265
*
266
266
*
267
267
268
+
assertion errors display actual and expected properly (*ms)
269
+
AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal:
270
+
271
+
{
272
+
bar: 1,
273
+
foo: 1
274
+
}
275
+
276
+
should loosely deep-equal
277
+
278
+
<ref *1> {
279
+
bar: 2,
280
+
c: [Circular *1]
281
+
}
282
+
*
283
+
*
284
+
*
285
+
*
286
+
*
287
+
*
288
+
*
289
+
* {
290
+
generatedMessage: true,
291
+
code: 'ERR_ASSERTION',
292
+
actual: [Object],
293
+
expected: [Object],
294
+
operator: 'deepEqual'
295
+
}
296
+
268
297
invalid subtest fail (*ms)
269
298
'test could not be started because its parent finished'
270
299
@@ -275,10 +304,10 @@
275
304
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.
276
305
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.
277
306
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