chore: Fix types in tests 20/N.

This commit is contained in:
cpojer
2026-02-17 12:21:55 +09:00
parent e09643e82c
commit 18cc48dfd9
9 changed files with 68 additions and 58 deletions

View File

@@ -4,7 +4,6 @@ describe("minimaxUnderstandImage apiKey normalization", () => {
const priorFetch = global.fetch;
afterEach(() => {
// @ts-expect-error restore
global.fetch = priorFetch;
vi.restoreAllMocks();
});
@@ -22,7 +21,6 @@ describe("minimaxUnderstandImage apiKey normalization", () => {
{ status: 200, headers: { "Content-Type": "application/json" } },
);
});
// @ts-expect-error mock fetch
global.fetch = fetchSpy;
const { minimaxUnderstandImage } = await import("./minimax-vlm.js");