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.

try fix test

Kiran Kdbe65617eea3
diff --git a/apps/web/tests/links/list-links.test.ts b/apps/web/tests/links/list-links.test.ts
index 86dfaef0ea..b49b96552f 100644
--- a/apps/web/tests/links/list-links.test.ts
+++ b/apps/web/tests/links/list-links.test.ts
@@ -31,7 +31,6 @@ test("GET /links", async (ctx) => {
userId: user.id,
projectId,
workspaceId,
-
shortLink: `https://${domain}/${firstLink.key}`,
qrCode: `https://api.dub.co/qr?url=https://${domain}/${firstLink.key}?qr=1`,
});
diff --git a/apps/web/tests/utils/schema.ts b/apps/web/tests/utils/schema.ts
index e0813159f4..c914783bde 100644
--- a/apps/web/tests/utils/schema.ts
+++ b/apps/web/tests/utils/schema.ts
@@ -37,7 +37,6 @@ export const expectedLink: Partial<Link> & {
tagId: null, // backwards compatibility
comments: null,
tags: [],
- webhooks: [],
createdAt: expect.any(String),
updatedAt: expect.any(String),
expiredUrl: null,