Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/statelyai/xstate
/ assert.test.ts
File
assert.test.ts
packages/core/test/assert.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createActor, createMachine, assertEvent } from
'../src'
;
2
3
describe(
'assertion helpers'
, () => {
4
it(
'assertEvent asserts the correct event type'
, () => {
Callers
nothing calls this directly
Calls
6
createMachine
Function · 0.90
assertEvent
Function · 0.90
createActor
Function · 0.90
send
Method · 0.80
subscribe
Method · 0.65
start
Method · 0.65
Tested by
no test coverage detected