mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
test(ui): stub fetch without a type suppression in interactions playground test
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
d09ccc4b0e
commit
b989e3bd0a
1 changed files with 2 additions and 2 deletions
|
|
@ -23,12 +23,12 @@ describe("interactions_api", () => {
|
|||
const mockFetch = vi.fn();
|
||||
|
||||
beforeEach(() => {
|
||||
// @ts-ignore - assigning to global for test environment
|
||||
global.fetch = mockFetch;
|
||||
vi.stubGlobal("fetch", mockFetch);
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
vi.clearAllMocks();
|
||||
vi.unstubAllGlobals();
|
||||
});
|
||||
|
||||
it("parses native Gemini step events and captures the nested interaction model", async () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue