Skip to content

Commit 4b0efcf

Browse files
committed
chore: allow ts-ignore in test
1 parent 8de8eb3 commit 4b0efcf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/utils/refreshTimer.test.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ describe("refreshTimer", () => {
2424
it("should throw error when window is undefined", () => {
2525
const originalWindow = global.window;
2626
// Temporarily delete the window object
27-
//@ts-ignore
27+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
28+
// @ts-ignore
2829
delete global.window;
2930

3031
const callback = vi.fn();

0 commit comments

Comments
 (0)