Skip to content

Commit

Permalink
fix the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
devkiran committed Oct 14, 2024
1 parent 4661ec5 commit 84db798
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/web/tests/domains/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const domainRecord = {
slug: slug,
expiredUrl: `https://${slug}/expired`,
placeholder: `https://${slug}/placeholder`,
notFoundUrl: `https://${slug}/not-found`,
};

const expectedDomain = {
Expand All @@ -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),
};
Expand Down Expand Up @@ -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,
};

Expand Down

0 comments on commit 84db798

Please sign in to comment.