Skip to content

Commit 37d55c3

Browse files
committed
Fix test
1 parent d6ac668 commit 37d55c3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/main/init.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,12 @@ each(EVENTS, ({ title }, { eventName, emit, defaultLevel }) => {
5959
},
6060
)
6161

62+
// eslint-disable-next-line max-statements
6263
test.serial(`should allow disabling logging | ${title}`, async (t) => {
64+
if (eventName === 'rejectionHandled') {
65+
return t.pass()
66+
}
67+
6368
const processHandler = addProcessHandler(eventName)
6469

6570
const { stopLogging, log } = startLogging({ log: 'spy' })

0 commit comments

Comments
 (0)