Skip to content

Commit d28281b

Browse files
1pxoneCopilot
andauthored
Update packages/javascript-sdk/tests/records.importJson.upsert-nested-linking.e2e.test.ts
Co-authored-by: Copilot <[email protected]>
1 parent c4e3ed4 commit d28281b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/javascript-sdk/tests/records.importJson.upsert-nested-linking.e2e.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe('records.importJson upsert nested linking (e2e)', () => {
5959

6060
const departments = await db.records.find({ labels: ['department'], where: { tenantId } })
6161
// label normalization in service uses original key; depending on capitalization option it might be 'department'
62-
// Allow 1 department entry
62+
// The label comes from the original key 'department' in the payload
6363
expect(departments.total).toBe(1)
6464

6565
// Fetch relations and ensure both companies are connected to the same department

0 commit comments

Comments
 (0)