UNPKG

finitestate

Version:

1. All actions are functions which have a $$displayName property. 2. All states are strings 3. Json representation for SSR

9 lines (7 loc) 189 B
import FSM from "../lib"; describe("FSM type check", () => { test("FSM is a defined function", () => { expect(FSM).toBeDefined(); expect(FSM).toBeInstanceOf(Function); }); });