From 16732b0b4387f5a6340d3ca3550d50a744a15770 Mon Sep 17 00:00:00 2001 From: Adrian Filipow Date: Sun, 10 Jan 2021 10:51:22 +0100 Subject: [PATCH] Fix typo --- tests/integration/user.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/user.test.js b/tests/integration/user.test.js index 0e7c256e..9fe5fc52 100644 --- a/tests/integration/user.test.js +++ b/tests/integration/user.test.js @@ -56,7 +56,7 @@ describe('User routes', () => { expect(dbUser.role).toBe('admin'); }); - test('should return 401 error is access token is missing', async () => { + test('should return 401 error if access token is missing', async () => { await request(app).post('/v1/users').send(newUser).expect(httpStatus.UNAUTHORIZED); });