Skip to content

Commit 3df2838

Browse files
committed
test(execution-core): type the warm-up test's fixtures instead of casting to any
The partial fixtures are widened through unknown to the real ExecutionSnapshot and LoggingSession types, as the repository's TypeScript rule prescribes.
1 parent 99e3cda commit 3df2838

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,9 +388,9 @@ describe('executeWorkflowCore terminal finalization sequencing', () => {
388388
warmExecutionSignalHubMock.mockResolvedValue(true)
389389

390390
const executionPromise = executeWorkflowCore({
391-
snapshot: createSnapshot() as any,
391+
snapshot: createSnapshot() as unknown as ExecutionSnapshot,
392392
callbacks: {},
393-
loggingSession: loggingSession as any,
393+
loggingSession: loggingSession as unknown as LoggingSession,
394394
})
395395

396396
// Asserted with no await in between: the handshake has to start ahead of

0 commit comments

Comments
 (0)