Skip to content

Commit

Permalink
typecheck sooner
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Jun 18, 2024
1 parent 7d04bde commit 36f61e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/specs/abortable.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ describe('abortable fetch', () => {

const expectAbortError = async (...fetchArgs) => {
const result = fm.fetchHandler(...fetchArgs);
await expect(result).rejects.toThrowError(new DOMException('The operation was aborted.', 'ABortError'));
await expect(result).rejects.toThrowError(
new DOMException('The operation was aborted.', 'ABortError'),
);
};

beforeEach(() => {
Expand Down

0 comments on commit 36f61e9

Please sign in to comment.