(overrides: Partial<ExecutionLog> = {})
| 82 | }); |
| 83 | |
| 84 | const event = (overrides: Partial<ExecutionLog> = {}): ExecutionLog => ({ |
| 85 | id: overrides.id ?? Math.random().toString(16).slice(2), |
| 86 | runId: 'run-1', |
| 87 | nodeId: 'node-1', |
| 88 | type: 'STARTED', |
| 89 | level: 'info', |
| 90 | timestamp: new Date().toISOString(), |
| 91 | ...overrides, |
| 92 | }); |
| 93 | |
| 94 | beforeEach(() => { |
| 95 | useExecutionStore.getState().reset(); |
no outgoing calls
no test coverage detected