From 667c46303c79383a47f10bddaf2dde3d42cf7e74 Mon Sep 17 00:00:00 2001 From: Jernej Pregelj Date: Mon, 17 Jun 2019 16:43:17 +0200 Subject: [PATCH] fix server test --- server/test/api.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/test/api.test.ts b/server/test/api.test.ts index 84c6872..a43f0b9 100644 --- a/server/test/api.test.ts +++ b/server/test/api.test.ts @@ -8,7 +8,7 @@ afterAll(done => { describe('GET /', () => { it('responds with success', async () => { const response = await request(server).get('/') - expect(response.statusCode).toBe(200) + expect(response.status).toBe(200) }) })