(id: string, knowledgeBaseId: string)
| 357 | |
| 358 | describe('planForkMappedKbDocumentCopies', () => { |
| 359 | const sourceRow = (id: string, knowledgeBaseId: string) => ({ |
| 360 | id, |
| 361 | knowledgeBaseId, |
| 362 | storageKey: `kb/${id}`, |
| 363 | filename: `${id}.pdf`, |
| 364 | mimeType: 'application/pdf', |
| 365 | connectorId: 'connector-1', |
| 366 | deletedAt: null, |
| 367 | archivedAt: null, |
| 368 | }) |
| 369 | |
| 370 | function makeTx(docs: ReturnType<typeof sourceRow>[]) { |
| 371 | const inserted: Array<Record<string, unknown>> = [] |
no outgoing calls
no test coverage detected