Skip to content

Commit

Permalink
test: aborted requests should not trigger error state
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed May 21, 2024
1 parent 0cd00e6 commit 509938a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ test('Should not trigger error on abort', async () => {
appName: 'web',
};
const client = new UnleashClient(config);
client.on(EVENTS.ERROR, (e: any) => {
client.on(EVENTS.ERROR, () => {
throw new Error('abort should not trigger error');
});

Expand Down

0 comments on commit 509938a

Please sign in to comment.