MCPcopy
hub / github.com/ifandelse/machina.js / reachReview

Function reachReview

examples/with-react/src/fsm.test.ts:53–58  ·  view source on GitHub ↗
(fsm: any)

Source from the content-addressed store, hash-verified

51}
52
53function reachReview(fsm: any): void {
54 fsm.handle("selectNewCustomer");
55 fsm.handle("next", PERSONAL_DETAILS_ZAPHOD);
56 fsm.handle("next", { ...PAYMENT_DETAILS_VISA, scenario: "success" });
57 jest.runAllTimers();
58}
59
60function reachConfirmation(fsm: any): void {
61 reachReview(fsm);

Callers 2

reachConfirmationFunction · 0.85
fsm.test.tsFile · 0.85

Calls 1

handleMethod · 0.65

Tested by

no test coverage detected