mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-15 19:21:08 +00:00
test: remove duplicate openai image response keys
This commit is contained in:
@@ -92,7 +92,6 @@ describe("openai plugin", () => {
|
||||
],
|
||||
}),
|
||||
} as Response,
|
||||
finalUrl: "https://api.openai.com/v1/images/generations",
|
||||
release: vi.fn(async () => {}),
|
||||
});
|
||||
vi.spyOn(providerHttp, "assertOkOrThrowHttpError").mockResolvedValue(undefined);
|
||||
@@ -160,7 +159,6 @@ describe("openai plugin", () => {
|
||||
],
|
||||
}),
|
||||
} as Response,
|
||||
finalUrl: "https://api.openai.com/v1/images/edits",
|
||||
release: vi.fn(async () => {}),
|
||||
});
|
||||
vi.spyOn(providerHttp, "assertOkOrThrowHttpError").mockResolvedValue(undefined);
|
||||
|
||||
Reference in New Issue
Block a user