Skip to content

Commit

Permalink
chore: allow ts-ignore in test
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRivers committed Nov 19, 2024
1 parent 8de8eb3 commit 4b0efcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/utils/refreshTimer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ describe("refreshTimer", () => {
it("should throw error when window is undefined", () => {
const originalWindow = global.window;
// Temporarily delete the window object
//@ts-ignore
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
delete global.window;

const callback = vi.fn();
Expand Down

0 comments on commit 4b0efcf

Please sign in to comment.