MCPcopy Create free account
hub / github.com/bytebase/bytebase / toast.test.ts

File toast.test.ts

frontend/src/react/lib/toast.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { beforeEach, describe, expect, test, vi } from "vitest";
2
3const { addMock } = vi.hoisted(() => ({ addMock: vi.fn() }));
4vi.mock("@base-ui/react/toast", () => ({

Callers

nothing calls this directly

Calls 4

mapNotificationToToastFunction · 0.90
pushReactNotificationFunction · 0.90
testStruct · 0.85
beforeEachFunction · 0.85

Tested by

no test coverage detected