(table: any)
| 89 | vi.mock('@sim/db', async () => { |
| 90 | const { schemaMock } = (await import('@sim/testing')) as typeof import('@sim/testing') |
| 91 | const tableNameFor = (table: any) => { |
| 92 | if (table === schemaMock.knowledgeBase) return 'knowledge_base' |
| 93 | if (table === schemaMock.document) return 'document' |
| 94 | if (table === schemaMock.embedding) return 'embedding' |
| 95 | return '' |
| 96 | } |
| 97 | const selectBuilder = { |
| 98 | from(table: any) { |
| 99 | return { |
no outgoing calls
no test coverage detected