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
+35-4
Original file line number
Diff line number
Diff line change
@@ -624,8 +624,39 @@ 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
+
...
627
658
# Subtest: invalid subtest fail
628
-
not ok 65 - invalid subtest fail
659
+
not ok 66 - invalid subtest fail
629
660
---
630
661
duration_ms: *
631
662
failureType: 'parentAlreadyFinished'
@@ -634,18 +665,18 @@ not ok 65 - invalid subtest fail
634
665
stack: |-
635
666
*
636
667
...
637
-
1..65
668
+
1..66
638
669
# 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
670
# 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
671
# 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
672
# 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
673
# 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
674
# 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
675
# 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
+35-4
Original file line number
Diff line number
Diff line change
@@ -624,8 +624,39 @@ 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
+
...
627
658
# Subtest: invalid subtest fail
628
-
not ok 65 - invalid subtest fail
659
+
not ok 66 - invalid subtest fail
629
660
---
630
661
duration_ms: *
631
662
failureType: 'parentAlreadyFinished'
@@ -641,11 +672,11 @@ not ok 65 - invalid subtest fail
641
672
# 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
673
# 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
674
# 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
+47-3
Original file line number
Diff line number
Diff line change
@@ -184,7 +184,7 @@
184
184
callback called twice in different ticks (*ms)
185
185
callback called twice in future tick (*ms)
186
186
Error [ERR_TEST_FAILURE]: callback invoked multiple times
187
-
*
187
+
* {
188
188
failureType: 'multipleCallbackInvocations',
189
189
cause: 'callback invoked multiple times',
190
190
code: 'ERR_TEST_FAILURE'
@@ -265,6 +265,28 @@
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
+
generatedMessage: true,
284
+
code: 'ERR_ASSERTION',
285
+
actual: [Object],
286
+
expected: [Object],
287
+
operator: 'deepEqual'
288
+
}
289
+
268
290
invalid subtest fail (*ms)
269
291
'test could not be started because its parent finished'
270
292
@@ -275,10 +297,10 @@
275
297
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
298
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
299
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.
278
-
tests 79
300
+
tests 80
279
301
suites 0
280
302
pass 37
281
-
fail 24
303
+
fail 25
282
304
cancelled 3
283
305
skipped 10
284
306
todo 5
@@ -490,5 +512,27 @@
490
512
*
491
513
*
492
514
515
+
assertion errors display actual and expected properly (*ms)
516
+
AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal:
517
+
518
+
{
519
+
bar: 1,
520
+
foo: 1
521
+
}
522
+
523
+
should loosely deep-equal
524
+
525
+
<ref *1> {
526
+
bar: 2,
527
+
c: [Circular *1]
528
+
}
529
+
* {
530
+
generatedMessage: true,
531
+
code: 'ERR_ASSERTION',
532
+
actual: [Object],
533
+
expected: [Object],
534
+
operator: 'deepEqual'
535
+
}
536
+
493
537
invalid subtest fail (*ms)
494
538
'test could not be started because its parent finished'
0 commit comments