Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ matchesState, createMachine, createActor } from
'../src/index.ts'
;
2
3
describe(
'matchesState()'
, () => {
4
it(
'should return true if two states are equivalent'
, () => {
Callers
nothing calls this directly
Calls
4
matchesState
Function · 0.90
createMachine
Function · 0.90
createActor
Function · 0.90
getSnapshot
Method · 0.80
Tested by
no test coverage detected