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) }) })