Skip to content

Commit 509938a

Browse files
committed
test: aborted requests should not trigger error state
1 parent 0cd00e6 commit 509938a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ test('Should not trigger error on abort', async () => {
632632
appName: 'web',
633633
};
634634
const client = new UnleashClient(config);
635-
client.on(EVENTS.ERROR, (e: any) => {
635+
client.on(EVENTS.ERROR, () => {
636636
throw new Error('abort should not trigger error');
637637
});
638638

0 commit comments

Comments
 (0)