Skip to content

Commit

Permalink
Optimise "/search only by HEAD" test
Browse files Browse the repository at this point in the history
  • Loading branch information
Leslie-Wong-H committed Sep 14, 2024
1 parent cd37ca4 commit a85facb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/search.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,6 @@ describe("invalid input", () => {
async () => {
const response = await request(app).head("/search");
expect(response.statusCode).toBe(204);
expect(response.headers["content-type"]).toMatch(/^application\/json/);
expect(typeof response.body.error).toBe("string");
},
1000 * 10
Expand Down

0 comments on commit a85facb

Please sign in to comment.