chore: chore: Fix types in tests 19/N.

This commit is contained in:
cpojer
2026-02-17 12:21:45 +09:00
parent ecfc5a5ee7
commit e09643e82c
8 changed files with 30 additions and 34 deletions

View File

@@ -92,7 +92,6 @@ function requestUrl(input: RequestInfo): string {
function installMockFetch(impl: (input: RequestInfo) => Promise<Response>) {
const mockFetch = vi.fn(impl);
// @ts-expect-error mock fetch
global.fetch = mockFetch;
return mockFetch;
}
@@ -141,7 +140,6 @@ describe("web_fetch extraction fallbacks", () => {
});
afterEach(() => {
// @ts-expect-error restore
global.fetch = priorFetch;
vi.restoreAllMocks();
});