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.

fix tests

Steven Tey958603436d46
diff --git a/apps/web/tests/tracks/track-open.test.ts b/apps/web/tests/tracks/track-open.test.ts
index 896267f658..586f1a839c 100644
--- a/apps/web/tests/tracks/track-open.test.ts
+++ b/apps/web/tests/tracks/track-open.test.ts
@@ -11,7 +11,12 @@ const expectValidClickResponse = ({
expect(response.status).toEqual(200);
expect(response.data).toStrictEqual({
clickId: expect.any(String),
- url: expect.any(String),
+ link: {
+ id: expect.any(String),
+ domain: E2E_LINK.domain,
+ key: E2E_LINK.key,
+ url: expect.any(String),
+ },
});
};