Minor Changes
-
#5287
e07a7cd8462473188a0fb646a965e61be1ce6ae3
Thanks @davidkpiano! - The graph and model-based testing utilities from @xstate/graph (and @xstate/test previously) were moved to the corexstate
package.import { createMachine } from 'xstate'; import { getShortestPaths } from 'xstate/graph'; const machine = createMachine({ // ... }); const paths = getShortestPaths(machine, { fromState: 'a', toState: 'b' });