Skip to content

Commit 5ddab8a

Browse files
committed
test(org): type the deferred Gmail listing as the mock it resolves with
1 parent 840e073 commit 5ddab8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/sim/lib/organizations/home/provider-reads.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ describe('sharing a Gmail read across accounts', () => {
326326
})
327327

328328
it('does not wait for the listing before asking for the mailbox address', async () => {
329-
let listed: (response: Response) => void = () => {}
329+
let listed: (response: ReturnType<typeof respond>) => void = () => {}
330330
providerFetch.mockImplementation((url: string) =>
331331
url.includes('/threads?')
332332
? new Promise((resolve) => {

0 commit comments

Comments
 (0)