(initialFlow?: FlowData)
| 12 | const makeEdge = makeFlowEdge |
| 13 | |
| 14 | const createWrapper = (initialFlow?: FlowData) => { |
| 15 | function Wrapper({ children }: { children: ReactNode }) { |
| 16 | return <AgentflowStateProvider initialFlow={initialFlow}>{children}</AgentflowStateProvider> |
| 17 | } |
| 18 | return Wrapper |
| 19 | } |
| 20 | |
| 21 | describe('useAgentflow', () => { |
| 22 | describe('getFlow', () => { |