@@ -139,13 +139,20 @@ Generated by [AVA](https://avajs.dev).
139139> Snapshot 1
140140
141141 {
142- exitCode: 0 ,
142+ exitCode: 1 ,
143143 stderr: '',
144144 stdout: `should make tests fail␊
145145 √ on rejectionHandled␊
146+ 1) on rejectionHandled␊
146147 ␊
147148 ␊
148- 1 passing`,
149+ 1 passing␊
150+ 1 failing␊
151+ ␊
152+ 1) should make tests fail␊
153+ on rejectionHandled:␊
154+ Uncaught Error: message␊
155+ at STACK TRACE`,
149156 }
150157
151158## should allow overriding 'opts.level' | rejectionHandled node-tap: default
@@ -433,13 +440,20 @@ Generated by [AVA](https://avajs.dev).
433440> Snapshot 1
434441
435442 {
436- exitCode: 0 ,
443+ exitCode: 1 ,
437444 stderr: '',
438445 stdout: `should make tests fail␊
439446 √ on unhandledRejection␊
447+ 1) on unhandledRejection␊
440448 ␊
441449 ␊
442- 1 passing`,
450+ 1 passing␊
451+ 1 failing␊
452+ ␊
453+ 1) should make tests fail␊
454+ on unhandledRejection:␊
455+ Uncaught Error: message␊
456+ at STACK TRACE`,
443457 }
444458
445459## should allow overriding 'opts.level' | unhandledRejection node-tap: default
@@ -799,7 +813,7 @@ Generated by [AVA](https://avajs.dev).
799813 ␊
800814 1) should make tests fail␊
801815 on rejectionHandled:␊
802- Uncaught UnhandledRejection: a promise was rejected but not handled: Error: message␊
816+ Uncaught Error: message␊
803817 at STACK TRACE`,
804818 }
805819
@@ -1122,7 +1136,7 @@ Generated by [AVA](https://avajs.dev).
11221136 ␊
11231137 1) should make tests fail␊
11241138 on unhandledRejection:␊
1125- Uncaught UnhandledRejection: a promise was rejected but not handled: Error: message␊
1139+ Uncaught Error: message␊
11261140 at STACK TRACE`,
11271141 }
11281142
@@ -1551,7 +1565,7 @@ Generated by [AVA](https://avajs.dev).
15511565 ␊
15521566 1) should make tests fail␊
15531567 on rejectionHandled:␊
1554- Uncaught UnhandledRejection: a promise was rejected but not handled: Error: message␊
1568+ Uncaught Error: message␊
15551569 at STACK TRACE`,
15561570 }
15571571
@@ -1874,7 +1888,7 @@ Generated by [AVA](https://avajs.dev).
18741888 ␊
18751889 1) should make tests fail␊
18761890 on unhandledRejection:␊
1877- Uncaught UnhandledRejection: a promise was rejected but not handled: Error: message␊
1891+ Uncaught Error: message␊
18781892 at STACK TRACE`,
18791893 }
18801894
0 commit comments