Skip to content

Commit 4954455

Browse files
committed
chore(executor): type subflow configs in new run-from-block tests
1 parent 085e0e5 commit 4954455

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/sim/executor/utils/run-from-block.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,13 +342,13 @@ describe('validateRunFromBlock', () => {
342342
nodes: ['inner-loop'],
343343
iterations: 2,
344344
loopType: 'for',
345-
} as any)
345+
})
346346
dag.loopConfigs.set('inner-loop', {
347347
id: 'inner-loop',
348348
nodes: ['B'],
349349
iterations: 2,
350350
loopType: 'for',
351-
} as any)
351+
})
352352

353353
const result = validateRunFromBlock('B', dag, new Set())
354354

@@ -366,7 +366,7 @@ describe('validateRunFromBlock', () => {
366366
const dag = createDAG([
367367
createNode('P₍0₎', [], { isParallelBranch: true, subflowId: 'par', subflowType: 'parallel' }),
368368
])
369-
dag.parallelConfigs.set('par', { id: 'par', nodes: ['P'], count: 2 } as any)
369+
dag.parallelConfigs.set('par', { id: 'par', nodes: ['P'], count: 2 })
370370

371371
const result = validateRunFromBlock('P', dag, new Set(), new Map([['par', 'Fan out']]))
372372

0 commit comments

Comments
 (0)