Skip to content

Commit 16c5515

Browse files
committed
fix failing test
1 parent 98d58a6 commit 16c5515

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/sim/app/api/knowledge/utils.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ vi.mock('@sim/db', () => {
148148
}),
149149
transaction: vi.fn(async (fn: any) => {
150150
await fn({
151+
delete: () => ({
152+
where: () => Promise.resolve(),
153+
}),
151154
insert: (table: any) => ({
152155
values: (records: any) => {
153156
dbOps.order.push('insert')

0 commit comments

Comments
 (0)