Skip to content

Commit f2e7859

Browse files
committed
handle error events in test
1 parent cba6dc5 commit f2e7859

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/client/lib/client/index.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,9 @@ describe('Client', () => {
647647
});
648648

649649
testUtils.testWithClient('should propagated errors from "isolated" clients', client => {
650+
client.on('error', () => {
651+
// ignore errors
652+
});
650653
return client.executeIsolated(isolated => killClient(isolated, client));
651654
}, GLOBAL.SERVERS.OPEN);
652655

0 commit comments

Comments
 (0)