arbitraryMachine: fc.Arbitrary<{
    actions: string[];
    conditions: string[];
    events: string[];
    machine: AnyStateNodeConfig;
    services: string[];
    states: string[];
}> = ...

Fast-check Arbitrary to generate a config for an XState state machine. The machine property of arbitraryMachine output is intended to be passed to createMachine.

The arbitrary returns the machine config in the machine property, the list of all events in the machine in the events property, the list of all conditions in the machine in the conditions property, the list of all actions in the machine in the actions property, the list of all services in the machine in the services property, and the list of all states in the machine in the states property.

Generated using TypeDoc