diff options
| author | Adam Malczewski <[email protected]> | 2026-10-10 00:21:23 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-10-10 00:21:23 +0900 |
| commit | c5663ff2821917f1e5a09c2e11eae005bfbb0714 (patch) | |
| tree | d55ae282206b56c141c2fee145e1652ecd2491dd /src | |
| parent | 9f2dcfaab421fa84837685a0b65678acf03d9ded (diff) | |
| download | dispatch-web-c5663ff2821917f1e5a09c2e11eae005bfbb0714.tar.gz dispatch-web-c5663ff2821917f1e5a09c2e11eae005bfbb0714.zip | |
chore(lint): fix the 2 biome warnings (unused fetch init param, stale noConsole suppression)
Diffstat (limited to 'src')
| -rw-r--r-- | src/app/store.test.ts | 2 | ||||
| -rw-r--r-- | src/core/plugin-abi/driver.test.ts | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/app/store.test.ts b/src/app/store.test.ts index d798406..206eaa4 100644 --- a/src/app/store.test.ts +++ b/src/app/store.test.ts @@ -803,7 +803,7 @@ describe("createAppStore", () => { const ws = fakeSocket(); const fetchImpl: typeof fetch = async ( input: string | URL | Request, - init?: RequestInit, + _init?: RequestInit, ): Promise<Response> => { const url = typeof input === "string" ? input : input instanceof URL ? input.href : input.url; if (/\/models(\?.*)?$/.test(url)) { diff --git a/src/core/plugin-abi/driver.test.ts b/src/core/plugin-abi/driver.test.ts index b02c76b..43d0af5 100644 --- a/src/core/plugin-abi/driver.test.ts +++ b/src/core/plugin-abi/driver.test.ts @@ -203,7 +203,6 @@ describe("createFrontendDriver — the load lifecycle", () => { await new Promise((r) => setTimeout(r, 10)); releaseImport?.(); await Promise.all([first, second]); - // biome-ignore lint/suspicious/noConsole: temporary debug // The second pass sees `a` already imported (the queued sync ran after) // and unloads it — exactly one sweep, no interleaving. expect(h.sweeps).toEqual(["a"]); |
