From af58a4452814cf5ff54154d4effd7fcb8825b8eb Mon Sep 17 00:00:00 2001 From: "exe.dev user" Date: Tue, 20 Oct 2026 20:27:15 +0000 Subject: [PATCH] test: allow extended legacy exe status fields --- packages/api/test/loading.postgres.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/test/loading.postgres.test.ts b/packages/api/test/loading.postgres.test.ts index 5acbc80..2e804eb 100644 --- a/packages/api/test/loading.postgres.test.ts +++ b/packages/api/test/loading.postgres.test.ts @@ -68,7 +68,7 @@ describe.skipIf(!url)("request loading with PostgreSQL", () => { await connections.put("cloudflare-tail:legacy", { signingSecret: "private-secret" }); const status = await new ApiService(env, auth).integrationStatus(); expect(status.linear).toEqual({ organizationName: null, viewerEmail: null }); - expect(status.exeConnections).toContainEqual({ connectionId: "legacy", credentialStatus: "connected", accountTags: [] }); + expect(status.exeConnections).toContainEqual(expect.objectContaining({ connectionId: "legacy", credentialStatus: "connected", accountTags: [] })); expect(status.ampConnections).toContainEqual({ connectionId: "legacy", project: "Unnamed Amp project" }); expect(status.cloudflareTail.installations).toContainEqual({ integrationId: "legacy", name: "Unnamed Tail integration", status: "connected", secretConfigured: true, referencedJobCount: 0 }); expect(JSON.stringify(status)).not.toContain("private-");