From ad699ede904816f62a0ecff9984e6c1284120cc0 Mon Sep 17 00:00:00 2001 From: Jack Tomaszewski Date: Sun, 18 Apr 2021 10:03:07 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ef12e20..aed67ee 100644 --- a/README.md +++ b/README.md @@ -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/);