Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jtomaszewski authored Apr 18, 2021
1 parent fc269b6 commit ad699ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Or async/await syntax:
```js
describe('GET /users', function() {
it('responds with json', async function() {
const response = request(app)
const response = await request(app)
.get('/users')
.set('Accept', 'application/json')
expect(response.headers["Content-Type"]).toMatch(/json/);
Expand Down

0 comments on commit ad699ed

Please sign in to comment.