MCPcopy
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

1import { createActor, createMachine, assertEvent } from '../src';
2
3describe('assertion helpers', () => {
4 it('assertEvent asserts the correct event type', () => {

Callers

nothing calls this directly

Calls 6

createMachineFunction · 0.90
assertEventFunction · 0.90
createActorFunction · 0.90
sendMethod · 0.80
subscribeMethod · 0.65
startMethod · 0.65

Tested by

no test coverage detected