Skip to content

Commit 4ed2f71

Browse files
committed
test(mothership): stub the chat lease getter in the wake unit test mock
1 parent 7cb813b commit 4ed2f71

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/sim/lib/mothership/tasks/application/tasks.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ vi.mock('@/lib/workflows/executor/execution-status', () => ({
4747
}))
4848
vi.mock('@/lib/mothership/request/session/abort', () => ({
4949
acquirePendingChatStream: hoisted.acquire,
50+
getLocalChatStreamLease: vi.fn(),
5051
}))
5152

5253
import type { NextRequest } from 'next/server'

0 commit comments

Comments
 (0)