Skip to content

Commit 11bca6b

Browse files
test(custom-block): isolate custom-block rows fetch in execution-core test
1 parent 4551c4c commit 11bca6b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/sim/lib/workflows/executor/execution-core.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ vi.mock('@/lib/logs/execution/trace-spans/trace-spans', () => ({
5959

6060
vi.mock('@/lib/workflows/persistence/utils', () => workflowsPersistenceUtilsMock)
6161

62+
vi.mock('@/lib/workflows/custom-blocks/operations', () => ({
63+
getCustomBlockRowsForWorkspace: vi.fn().mockResolvedValue([]),
64+
}))
65+
6266
vi.mock('@sim/workflow-persistence/subblocks', () => ({
6367
mergeSubblockStateWithValues: mergeSubblockStateWithValuesMock,
6468
}))

0 commit comments

Comments
 (0)