Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/resend/react-email
/ event-bus.spec.ts
File
event-bus.spec.ts
packages/editor/src/core/event-bus.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ renderHook } from
'@testing-library/react'
;
2
import
{ editorEventBus, useEditorEvent } from
'./event-bus'
;
3
4
// Augment EditorEventMap with test-only events
Callers
nothing calls this directly
Calls
4
useEditorEvent
Function · 0.90
it
Function · 0.85
on
Method · 0.80
dispatch
Method · 0.80
Tested by
no test coverage detected