Skip to content

Commit 0666797

Browse files
authored
Merge pull request #866 from SchroederSteffen/use-lowercase-header-name
chore(readme): use lower-case header name
2 parents 953eca7 + 1e642b0 commit 0666797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ describe('GET /users', function() {
163163
const response = await request(app)
164164
.get('/users')
165165
.set('Accept', 'application/json')
166-
expect(response.headers["Content-Type"]).toMatch(/json/);
166+
expect(response.headers["content-type"]).toMatch(/json/);
167167
expect(response.status).toEqual(200);
168168
expect(response.body.email).toEqual('foo@bar.com');
169169
});

0 commit comments

Comments
 (0)