()
| 45 | } |
| 46 | |
| 47 | function createState(): BlockStateController { |
| 48 | return { |
| 49 | getBlockOutput: vi.fn(), |
| 50 | hasExecuted: vi.fn(() => false), |
| 51 | setBlockOutput: vi.fn(), |
| 52 | setBlockState: vi.fn(), |
| 53 | deleteBlockState: vi.fn(), |
| 54 | unmarkExecuted: vi.fn(), |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | function createContext(scope: Record<string, unknown> = {}, loopId = 'loop-1'): ExecutionContext { |
| 59 | return { |
no outgoing calls
no test coverage detected