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 the tests

Kiran K84db798b30c3
diff --git a/apps/web/tests/domains/index.test.ts b/apps/web/tests/domains/index.test.ts
index 7ca199215f..363accf787 100644
--- a/apps/web/tests/domains/index.test.ts
+++ b/apps/web/tests/domains/index.test.ts
@@ -9,6 +9,7 @@ const domainRecord = {
slug: slug,
expiredUrl: `https://${slug}/expired`,
placeholder: `https://${slug}/placeholder`,
+ notFoundUrl: `https://${slug}/not-found`,
};
const expectedDomain = {
@@ -19,6 +20,7 @@ const expectedDomain = {
archived: false,
placeholder: domainRecord.placeholder,
expiredUrl: domainRecord.expiredUrl,
+ notFoundUrl: domainRecord.notFoundUrl,
createdAt: expect.any(String),
updatedAt: expect.any(String),
};
@@ -82,6 +84,7 @@ describe.sequential("/domains/**", async () => {
const toUpdate = {
expiredUrl: `https://${slug}/expired-new`,
placeholder: `https://${slug}/placeholder-new`,
+ notFoundUrl: `https://${slug}/not-found-new`,
archived: true,
};