Files
sim/tests/__mocks__/executor/loops.ts
waleedlatif1 8218a88ce6 Feature/execution (#87)
* feat(executor): split executor into specialized components

* fix(executor): if there is a dependency on a block that is not along the selected path, ignore it; if we are at max iterations for a loop, stop

* feat(exector): cleanup inline comments in executor

* fix(executor): fix issue in removeDownstreamBlocks when we are breaking out of a loop to prevent infinite recursion

* feat(executor/tests): setup initial testing directory

* feat(executor): make the path selection for routing/conditional blocks independent of context, instead of deactivating paths we just activate others
2025-02-26 02:09:56 -08:00

5 lines
180 B
TypeScript

export const LoopManager = jest.fn().mockImplementation(() => ({
processLoopIterations: jest.fn().mockResolvedValue(false),
getMaxIterations: jest.fn().mockReturnValue(5),
}))