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_describe_it.out
+80-61
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ not ok 3 - sync fail todo # TODO
24
24
*
25
25
*
26
26
*
27
+
*
27
28
...
28
29
# Subtest: sync fail todo with message
29
30
not ok 4 - sync fail todo with message # TODO this is a failing todo
@@ -74,6 +75,7 @@ not ok 8 - sync throw fail
74
75
*
75
76
*
76
77
*
78
+
*
77
79
...
78
80
# Subtest: async skip pass
79
81
ok 9 - async skip pass # SKIP
@@ -100,6 +102,7 @@ not ok 11 - async throw fail
100
102
*
101
103
*
102
104
*
105
+
*
103
106
...
104
107
# Subtest: async skip fail
105
108
not ok 12 - async skip fail
@@ -128,6 +131,7 @@ not ok 13 - async assertion fail
128
131
*
129
132
*
130
133
*
134
+
*
131
135
...
132
136
# Subtest: resolve pass
133
137
ok 14 - resolve pass
@@ -149,6 +153,7 @@ not ok 15 - reject fail
149
153
*
150
154
*
151
155
*
156
+
*
152
157
...
153
158
# Subtest: unhandled rejection - passes but warns
154
159
ok 16 - unhandled rejection - passes but warns
@@ -237,45 +242,23 @@ ok 23 - level 0a
237
242
---
238
243
duration_ms: *
239
244
...
240
-
# Subtest: top level
241
-
# Subtest: +long running
242
-
ok 1 - +long running
243
-
---
244
-
duration_ms: *
245
-
...
246
-
# Subtest: +short running
247
-
# Subtest: ++short running
248
-
ok 1 - ++short running
249
-
---
250
-
duration_ms: *
251
-
...
252
-
1..1
253
-
ok 2 - +short running
254
-
---
255
-
duration_ms: *
256
-
...
257
-
1..2
258
-
ok 24 - top level
259
-
---
260
-
duration_ms: *
261
-
...
262
245
# Subtest: invalid subtest - pass but subtest fails
263
-
ok 25 - invalid subtest - pass but subtest fails
246
+
ok 24 - invalid subtest - pass but subtest fails
264
247
---
265
248
duration_ms: *
266
249
...
267
250
# Subtest: sync skip option
268
-
ok 26 - sync skip option # SKIP
251
+
ok 25 - sync skip option # SKIP
269
252
---
270
253
duration_ms: *
271
254
...
272
255
# Subtest: sync skip option with message
273
-
ok 27 - sync skip option with message # SKIP this is skipped
256
+
ok 26 - sync skip option with message # SKIP this is skipped
274
257
---
275
258
duration_ms: *
276
259
...
277
260
# Subtest: sync skip option is false fail
278
-
not ok 28 - sync skip option is false fail
261
+
not ok 27 - sync skip option is false fail
279
262
---
280
263
duration_ms: *
281
264
failureType: 'testCodeFailure'
@@ -291,67 +274,67 @@ not ok 28 - sync skip option is false fail
291
274
*
292
275
...
293
276
# Subtest: <anonymous>
294
-
ok 29 - <anonymous>
277
+
ok 28 - <anonymous>
295
278
---
296
279
duration_ms: *
297
280
...
298
281
# Subtest: functionOnly
299
-
ok 30 - functionOnly
282
+
ok 29 - functionOnly
300
283
---
301
284
duration_ms: *
302
285
...
303
286
# Subtest: <anonymous>
304
-
ok 31 - <anonymous>
287
+
ok 30 - <anonymous>
305
288
---
306
289
duration_ms: *
307
290
...
308
291
# Subtest: test with only a name provided
309
-
ok 32 - test with only a name provided
292
+
ok 31 - test with only a name provided
310
293
---
311
294
duration_ms: *
312
295
...
313
296
# Subtest: <anonymous>
314
-
ok 33 - <anonymous>
297
+
ok 32 - <anonymous>
315
298
---
316
299
duration_ms: *
317
300
...
318
301
# Subtest: <anonymous>
319
-
ok 34 - <anonymous> # SKIP
302
+
ok 33 - <anonymous> # SKIP
320
303
---
321
304
duration_ms: *
322
305
...
323
306
# Subtest: test with a name and options provided
324
-
ok 35 - test with a name and options provided # SKIP
307
+
ok 34 - test with a name and options provided # SKIP
325
308
---
326
309
duration_ms: *
327
310
...
328
311
# Subtest: functionAndOptions
329
-
ok 36 - functionAndOptions # SKIP
312
+
ok 35 - functionAndOptions # SKIP
330
313
---
331
314
duration_ms: *
332
315
...
333
316
# Subtest: escaped description \\ \# \\\#\\
334
-
ok 37 - escaped description \\ \# \\\#\\
317
+
ok 36 - escaped description \\ \# \\\#\\
335
318
---
336
319
duration_ms: *
337
320
...
338
321
# Subtest: escaped skip message
339
-
ok 38 - escaped skip message # SKIP \#skip
322
+
ok 37 - escaped skip message # SKIP \#skip
340
323
---
341
324
duration_ms: *
342
325
...
343
326
# Subtest: escaped todo message
344
-
ok 39 - escaped todo message # TODO \#todo
327
+
ok 38 - escaped todo message # TODO \#todo
345
328
---
346
329
duration_ms: *
347
330
...
348
331
# Subtest: callback pass
349
-
ok 40 - callback pass
332
+
ok 39 - callback pass
350
333
---
351
334
duration_ms: *
352
335
...
353
336
# Subtest: callback fail
354
-
not ok 41 - callback fail
337
+
not ok 40 - callback fail
355
338
---
356
339
duration_ms: *
357
340
failureType: 'testCodeFailure'
@@ -362,30 +345,30 @@ not ok 41 - callback fail
362
345
*
363
346
...
364
347
# Subtest: sync t is this in test
365
-
ok 42 - sync t is this in test
348
+
ok 41 - sync t is this in test
366
349
---
367
350
duration_ms: *
368
351
...
369
352
# Subtest: async t is this in test
370
-
ok 43 - async t is this in test
353
+
ok 42 - async t is this in test
371
354
---
372
355
duration_ms: *
373
356
...
374
357
# Subtest: callback t is this in test
375
-
ok 44 - callback t is this in test
358
+
ok 43 - callback t is this in test
376
359
---
377
360
duration_ms: *
378
361
...
379
362
# Subtest: callback also returns a Promise
380
-
not ok 45 - callback also returns a Promise
363
+
not ok 44 - callback also returns a Promise
381
364
---
382
365
duration_ms: *
383
366
failureType: 'callbackAndPromisePresent'
384
367
error: 'passed a callback but also returned a Promise'
385
368
code: 'ERR_TEST_FAILURE'
386
369
...
387
370
# Subtest: callback throw
388
-
not ok 46 - callback throw
371
+
not ok 45 - callback throw
389
372
---
390
373
duration_ms: *
391
374
failureType: 'testCodeFailure'
@@ -401,7 +384,7 @@ not ok 46 - callback throw
401
384
*
402
385
...
403
386
# Subtest: callback called twice
404
-
not ok 47 - callback called twice
387
+
not ok 46 - callback called twice
405
388
---
406
389
duration_ms: *
407
390
failureType: 'multipleCallbackInvocations'
@@ -412,12 +395,12 @@ not ok 47 - callback called twice
412
395
*
413
396
...
414
397
# Subtest: callback called twice in different ticks
415
-
ok 48 - callback called twice in different ticks
398
+
ok 47 - callback called twice in different ticks
416
399
---
417
400
duration_ms: *
418
401
...
419
402
# Subtest: callback called twice in future tick
420
-
not ok 49 - callback called twice in future tick
403
+
not ok 48 - callback called twice in future tick
421
404
---
422
405
duration_ms: *
423
406
failureType: 'uncaughtException'
@@ -427,7 +410,7 @@ not ok 49 - callback called twice in future tick
427
410
*
428
411
...
429
412
# Subtest: callback async throw
430
-
not ok 50 - callback async throw
413
+
not ok 49 - callback async throw
431
414
---
432
415
duration_ms: *
433
416
failureType: 'uncaughtException'
@@ -437,20 +420,20 @@ not ok 50 - callback async throw
437
420
*
438
421
...
439
422
# Subtest: callback async throw after done
440
-
ok 51 - callback async throw after done
423
+
ok 50 - callback async throw after done
441
424
---
442
425
duration_ms: *
443
426
...
444
427
# Subtest: custom inspect symbol fail
445
-
not ok 52 - custom inspect symbol fail
428
+
not ok 51 - custom inspect symbol fail
446
429
---
447
430
duration_ms: *
448
431
failureType: 'testCodeFailure'
449
432
error: 'customized'
450
433
code: 'ERR_TEST_FAILURE'
451
434
...
452
435
# Subtest: custom inspect symbol that throws fail
453
-
not ok 53 - custom inspect symbol that throws fail
436
+
not ok 52 - custom inspect symbol that throws fail
454
437
---
455
438
duration_ms: *
456
439
failureType: 'testCodeFailure'
@@ -501,7 +484,7 @@ not ok 53 - custom inspect symbol that throws fail
501
484
*
502
485
...
503
486
1..2
504
-
not ok 54 - subtest sync throw fails
487
+
not ok 53 - subtest sync throw fails
505
488
---
506
489
duration_ms: *
507
490
failureType: 'subtestsFailed'
@@ -518,7 +501,7 @@ not ok 54 - subtest sync throw fails
518
501
code: 'ERR_TEST_FAILURE'
519
502
...
520
503
1..1
521
-
not ok 55 - describe sync throw fails
504
+
not ok 54 - describe sync throw fails
522
505
---
523
506
duration_ms: *
524
507
failureType: 'testCodeFailure'
@@ -546,7 +529,7 @@ not ok 55 - describe sync throw fails
546
529
code: 'ERR_TEST_FAILURE'
547
530
...
548
531
1..1
549
-
not ok 56 - describe async throw fails
532
+
not ok 55 - describe async throw fails
550
533
---
551
534
duration_ms: *
552
535
failureType: 'testCodeFailure'
@@ -573,7 +556,7 @@ not ok 56 - describe async throw fails
573
556
error: 'test timed out after 5ms'
574
557
code: 'ERR_TEST_FAILURE'
575
558
stack: |-
576
-
*
559
+
async Promise.all (index 0)
577
560
...
578
561
# Subtest: timed out callback test
579
562
not ok 2 - timed out callback test
@@ -594,15 +577,51 @@ not ok 56 - describe async throw fails
594
577
duration_ms: *
595
578
...
596
579
1..4
597
-
not ok 57 - timeouts
580
+
not ok 56 - timeouts
598
581
---
599
582
duration_ms: *
600
583
failureType: 'subtestsFailed'
601
584
error: '2 subtests failed'
602
585
code: 'ERR_TEST_FAILURE'
603
586
...
587
+
# Subtest: successful thenable
588
+
# Subtest: successful thenable
589
+
ok 1 - successful thenable
590
+
---
591
+
duration_ms: *
592
+
...
593
+
# Subtest: rejected thenable
594
+
not ok 2 - rejected thenable
595
+
---
596
+
duration_ms: *
597
+
failureType: 'testCodeFailure'
598
+
error: 'custom error'
599
+
code: 'ERR_TEST_FAILURE'
600
+
stack: |-
601
+
*
602
+
*
603
+
...
604
+
1..2
605
+
not ok 57 - successful thenable
606
+
---
607
+
duration_ms: *
608
+
failureType: 'subtestsFailed'
609
+
error: '1 subtest failed'
610
+
code: 'ERR_TEST_FAILURE'
611
+
...
612
+
# Subtest: rejected thenable
613
+
not ok 58 - rejected thenable
614
+
---
615
+
duration_ms: *
616
+
failureType: 'testCodeFailure'
617
+
error: 'custom error'
618
+
code: 'ERR_TEST_FAILURE'
619
+
stack: |-
620
+
*
621
+
*
622
+
...
604
623
# Subtest: invalid subtest fail
605
-
not ok 58 - invalid subtest fail
624
+
not ok 59 - invalid subtest fail
606
625
---
607
626
duration_ms: *
608
627
failureType: 'parentAlreadyFinished'
@@ -611,16 +630,16 @@ not ok 58 - invalid subtest fail
611
630
stack: |-
612
631
*
613
632
...
614
-
1..58
633
+
1..59
615
634
# 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.
616
635
# 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.
617
636
# 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.
618
637
# 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.
619
638
# 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.
620
639
# 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.out
+18-5
Original file line number
Diff line number
Diff line change
@@ -588,8 +588,21 @@ ok 60 - large timeout callback test is ok
588
588
---
589
589
duration_ms: *
590
590
...
591
+
# Subtest: successful thenable
592
+
ok 61 - successful thenable
593
+
---
594
+
duration_ms: *
595
+
...
596
+
# Subtest: rejected thenable
597
+
not ok 62 - rejected thenable
598
+
---
599
+
duration_ms: *
600
+
failureType: 'testCodeFailure'
601
+
error: 'custom error'
602
+
code: 'ERR_TEST_FAILURE'
603
+
...
591
604
# Subtest: invalid subtest fail
592
-
not ok 61 - invalid subtest fail
605
+
not ok 63 - invalid subtest fail
593
606
---
594
607
duration_ms: *
595
608
failureType: 'parentAlreadyFinished'
@@ -598,16 +611,16 @@ not ok 61 - invalid subtest fail
598
611
stack: |-
599
612
*
600
613
...
601
-
1..61
614
+
1..63
602
615
# 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.
603
616
# 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.
604
617
# 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.
605
618
# 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.
606
619
# 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.
607
620
# 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