diff --git a/src/search.test.js b/src/search.test.js index 3326af6..dc7db69 100644 --- a/src/search.test.js +++ b/src/search.test.js @@ -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