Skip to content

Commit c4e3ed4

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 78e6672 commit c4e3ed4

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
@@ -63,7 +63,7 @@ describe('records.importJson upsert nested linking (e2e)', () => {
6363
expect(departments.total).toBe(1)
6464

6565
// Fetch relations and ensure both companies are connected to the same department
66-
const relationsResp = await db.relationships.find({})
66+
const relationsResp = await db.relationships.find({ where: { tenantId } })
6767
const rels = relationsResp.data.filter(
6868
(r) =>
6969
r.type &&

0 commit comments

Comments
 (0)