We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc269b6 commit ad699edCopy full SHA for ad699ed
README.md
@@ -130,7 +130,7 @@ Or async/await syntax:
130
```js
131
describe('GET /users', function() {
132
it('responds with json', async function() {
133
- const response = request(app)
+ const response = await request(app)
134
.get('/users')
135
.set('Accept', 'application/json')
136
expect(response.headers["Content-Type"]).toMatch(/json/);
0 commit comments