Skip to content

Commit

Permalink
test: ignore 404
Browse files Browse the repository at this point in the history
  • Loading branch information
ChefJerry committed Apr 12, 2024
1 parent 9f033d9 commit e7c754a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/default.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,10 @@ describe("global test", () => {
.filter((f) => !/(^|\/)\.[^\/\.]/g.test(f.name));

for (const logo of logoFiles) {
const sanitizedLogo = logo.name.split(".")[0];
expect(sanitizedLogo).toBe(getAddress(sanitizedLogo));
if (logo.name !== "404.html") {
const sanitizedLogo = logo.name.split(".")[0];
expect(sanitizedLogo).toBe(getAddress(sanitizedLogo));
}
}
}
});
Expand Down

0 comments on commit e7c754a

Please sign in to comment.