Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
genehack committed Oct 23, 2024
1 parent 247caa6 commit 6c2f71b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/requests.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,9 @@ function testBase404Page(path) {
the 404 page, but nextstrain.org without JS is not feasible */
test("body looks like 404 page", async () => {
const res = await req;
expect((await res.text()).includes('"error":"Not Found"')).toBe(true)
const response = await res.text()
console.log(response)
expect(response.includes("Oops - that page doesn’t exist!")).toBe(true)
});
});
}
Expand Down

0 comments on commit 6c2f71b

Please sign in to comment.