mirror of
https://github.com/gethomepage/homepage.git
synced 2026-04-08 03:01:19 -07:00
Fix eslint warnings in test
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user