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:
mateo 2026-09-18 00:10:03 +00:00
parent d09ccc4b0e
commit b989e3bd0a

View file

@ -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 () => {