Skip to content

Commit 72b5667

Browse files
committed
test(mothership): assert the acknowledged outcome, not the publish mock
1 parent b19f1cc commit 72b5667

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎apps/sim/app/api/copilot/confirm/route.test.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,6 @@ describe('Copilot Confirm API Route', () => {
640640

641641
expect(response.status).toBe(200)
642642
expect(await response.json()).toMatchObject({ toolCallId: 'tool-call-123', status: 'error' })
643-
expect(publishToolConfirmation).not.toHaveBeenCalled()
644643
}
645644
)
646645

0 commit comments

Comments
 (0)