Skip to content

Commit ffe1c92

Browse files
committed
chore(knowledge): format Slack sync integration fixture
1 parent e18a14b commit ffe1c92

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

apps/sim/lib/knowledge/__integration__/slack-empty-threads.integration.ts

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -160,20 +160,18 @@ describe('Slack empty threads through sync jobs, indexing and search', () => {
160160
accessToken: 'fixture-slack-token',
161161
})
162162
vi.stubGlobal('fetch', providerFetch)
163-
await db
164-
.insert(document)
165-
.values({
166-
id: documentId,
167-
knowledgeBaseId: ids.knowledgeBaseId,
168-
connectorId: ids.connectorId,
169-
externalId: EXTERNAL_ID,
170-
filename: 'Thread.txt',
171-
mimeType: 'text/plain',
172-
fileUrl: '',
173-
fileSize: 0,
174-
processingStatus: 'failed',
175-
processingError: 'Synthetic previous source failure',
176-
})
163+
await db.insert(document).values({
164+
id: documentId,
165+
knowledgeBaseId: ids.knowledgeBaseId,
166+
connectorId: ids.connectorId,
167+
externalId: EXTERNAL_ID,
168+
filename: 'Thread.txt',
169+
mimeType: 'text/plain',
170+
fileUrl: '',
171+
fileSize: 0,
172+
processingStatus: 'failed',
173+
processingError: 'Synthetic previous source failure',
174+
})
177175
})
178176
afterAll(async () => {
179177
await db.delete(workspace).where(eq(workspace.id, ids.workspaceId))

0 commit comments

Comments
 (0)