We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 953eca7 + 1e642b0 commit 0666797Copy full SHA for 0666797
README.md
@@ -163,7 +163,7 @@ describe('GET /users', function() {
163
const response = await request(app)
164
.get('/users')
165
.set('Accept', 'application/json')
166
- expect(response.headers["Content-Type"]).toMatch(/json/);
+ expect(response.headers["content-type"]).toMatch(/json/);
167
expect(response.status).toEqual(200);
168
expect(response.body.email).toEqual('foo@bar.com');
169
});
0 commit comments