Skip to content

Commit ad699ed

Browse files
authoredApr 18, 2021
Update README.md
1 parent fc269b6 commit ad699ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Or async/await syntax:
130130
```js
131131
describe('GET /users', function() {
132132
it('responds with json', async function() {
133-
const response = request(app)
133+
const response = await request(app)
134134
.get('/users')
135135
.set('Accept', 'application/json')
136136
expect(response.headers["Content-Type"]).toMatch(/json/);

0 commit comments

Comments
 (0)
Please sign in to comment.