mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 09:40:41 +00:00
test: reuse minimax vlm import
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
import { afterEach, beforeAll, describe, expect, it, vi } from "vitest";
|
||||
import { afterEach, describe, expect, it, vi } from "vitest";
|
||||
import { withFetchPreconnect } from "../test-utils/fetch-mock.js";
|
||||
|
||||
let isMinimaxVlmModel: typeof import("./minimax-vlm.js").isMinimaxVlmModel;
|
||||
let minimaxUnderstandImage: typeof import("./minimax-vlm.js").minimaxUnderstandImage;
|
||||
|
||||
beforeAll(async () => {
|
||||
({ isMinimaxVlmModel, minimaxUnderstandImage } = await import("./minimax-vlm.js"));
|
||||
});
|
||||
import { isMinimaxVlmModel, minimaxUnderstandImage } from "./minimax-vlm.js";
|
||||
|
||||
describe("minimaxUnderstandImage apiKey normalization", () => {
|
||||
const priorFetch = global.fetch;
|
||||
|
||||
Reference in New Issue
Block a user