Function
makeContext
(overrides: Partial<ExecutionEventContext> = {})
Source from the content-addressed store, hash-verified
| 26 | } |
| 27 | |
| 28 | function makeContext(overrides: Partial<ExecutionEventContext> = {}): ExecutionEventContext { |
| 29 | return { |
| 30 | workflowId: 'wf-source', |
| 31 | executionId: 'exec-1', |
| 32 | status: 'error', |
| 33 | trigger: 'manual', |
| 34 | durationMs: 1000, |
| 35 | cost: 0.25, |
| 36 | errorMessage: 'boom', |
| 37 | finalOutput: null, |
| 38 | ...overrides, |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | describe('excludeSimExecutionsCondition', () => { |
| 43 | it('excludes sim-triggered executions from rule statistics', () => { |
Tested by
no test coverage detected