Fix eslint warnings in test

This commit is contained in:
shamoon
2026-02-04 22:06:33 -08:00
parent c4e77d4b1d
commit ac11efc5c7
3 changed files with 11 additions and 6 deletions

View File

@@ -339,7 +339,7 @@ describe("pages/index Index routing + SWR branches", () => {
localStorage.setItem("hash", "old-hash");
const fetchSpy = vi.fn(async () => ({ ok: true }));
// eslint-disable-next-line no-global-assign
fetch = fetchSpy;
let reloadSpy;