Skip to content

Commit 406ad7e

Browse files
committed
fix mocks
1 parent 0f592d5 commit 406ad7e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

apps/sim/app/api/auth/oauth/connections/route.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,9 @@ describe('OAuth Connections API Route', () => {
3636

3737
vi.doMock('@sim/db', () => ({
3838
db: mockDb,
39-
}))
40-
41-
vi.doMock('@sim/db/schema', () => ({
4239
account: { userId: 'userId', providerId: 'providerId' },
4340
user: { email: 'email', id: 'id' },
41+
eq: vi.fn((field, value) => ({ field, value, type: 'eq' })),
4442
}))
4543

4644
vi.doMock('drizzle-orm', () => ({

0 commit comments

Comments
 (0)