Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ beforeEach, describe, expect, test, vi } from
"vitest"
;
2
3
const
{ addMock } = vi.hoisted(() => ({ addMock: vi.fn() }));
4
vi.mock(
"@base-ui/react/toast"
, () => ({
Callers
nothing calls this directly
Calls
4
mapNotificationToToast
Function · 0.90
pushReactNotification
Function · 0.90
test
Struct · 0.85
beforeEach
Function · 0.85
Tested by
no test coverage detected