Skip to content

Commit 4ff34ea

Browse files
akshay326cursoragent
andcommitted
test(execution): match completed job payload
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 0085e68 commit 4ff34ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/app/api/workflows/[id]/execute/route.async.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ describe('workflow execute async route', () => {
431431
await vi.waitFor(() => {
432432
expect(getAdmissionGateStatus().inflight).toBe(0)
433433
})
434-
expect(mockCompleteJob).toHaveBeenCalledWith('job-123', expect.anything())
434+
expect(mockCompleteJob).toHaveBeenCalledWith('job-123', undefined)
435435
})
436436

437437
it('applies admission backpressure to session-backed async executions', async () => {

0 commit comments

Comments
 (0)