Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Merge branch 'main' into program-application-created-webhook

Kiran Kc6a56d5cebc6
diff --cc apps/web/playwright/api/program-applications/program-applications.spec.ts
index 7f9c90e670,2852d82924..4c493c6932
--- a/apps/web/playwright/api/program-applications/program-applications.spec.ts
+++ b/apps/web/playwright/api/program-applications/program-applications.spec.ts
@@@ -290,7 -286,17 +288,17 @@@ test.describe("program applications", (
{ label: "How will you promote us?", value: "Newsletter" },
{ label: "Anything else?", value: null },
]);
- expect(data[0].partner.platforms).toStrictEqual([
+ // Platforms have no defined order in the response.
+ const platforms = [...(data[0].partner.platforms ?? [])].sort((a, b) =>
+ a.type.localeCompare(b.type),
+ );
+
+ expect(platforms).toStrictEqual([
+ {
+ type: "twitter",
- identifier: "application_handle",
++ identifier: "partner_handle",
+ verifiedAt: VERIFIED_AT.toISOString(),
+ },
{
type: "website",
identifier: VERIFIED_WEBSITE,