Skip to content

Commit 8b79a08

Browse files
Adam GoughAdam Gough
authored andcommitted
fixed missing mcosk
1 parent 4465a8e commit 8b79a08

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

apps/sim/executor/handlers/agent/agent-handler.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ vi.mock('@/lib/environment', () => ({
1717
isDev: vi.fn().mockReturnValue(true),
1818
isTest: vi.fn().mockReturnValue(false),
1919
getCostMultiplier: vi.fn().mockReturnValue(1),
20+
isEmailVerificationEnabled: false,
21+
isBillingEnabled: false,
2022
}))
2123

2224
vi.mock('@/providers/utils', () => ({

apps/sim/lib/workflows/db-helpers.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ vi.doMock('drizzle-orm', () => ({
7171
eq: vi.fn((field, value) => ({ field, value, type: 'eq' })),
7272
and: vi.fn((...conditions) => ({ type: 'and', conditions })),
7373
desc: vi.fn((field) => ({ field, type: 'desc' })),
74+
sql: vi.fn((strings, ...values) => ({
75+
strings,
76+
values,
77+
type: 'sql',
78+
_: { brand: 'SQL' },
79+
})),
7480
}))
7581

7682
vi.doMock('@/lib/logs/console/logger', () => ({

0 commit comments

Comments
 (0)