MCPcopy
hub / github.com/statelyai/xstate / match.test.ts

File match.test.ts

packages/core/test/match.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { matchesState, createMachine, createActor } from '../src/index.ts';
2
3describe('matchesState()', () => {
4 it('should return true if two states are equivalent', () => {

Callers

nothing calls this directly

Calls 4

matchesStateFunction · 0.90
createMachineFunction · 0.90
createActorFunction · 0.90
getSnapshotMethod · 0.80

Tested by

no test coverage detected