Skip to content

Commit b7eebd4

Browse files
committed
frontend: fix linting
1 parent 689b4bf commit b7eebd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/pages/__tests__/Tokens.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ describe('Tokens Component', () => {
3333

3434
const originalSetInterval = globalThis.setInterval;
3535
const originalClearInterval = globalThis.clearInterval;
36-
globalThis.setInterval = ((handler: (...args: unknown[]) => void) => {
36+
globalThis.setInterval = ((() => {
3737
return { __fake: 'interval' } as unknown as NodeJS.Timeout;
38-
}) as typeof setInterval;
38+
}) as unknown) as typeof setInterval;
3939
globalThis.clearInterval = (() => undefined) as typeof clearInterval;
4040
restoreIntervalMocks = () => {
4141
globalThis.setInterval = originalSetInterval;

0 commit comments

Comments
 (0)