I have a problem with the code below.
test('public routes should be accessible', async () => { const res = await request(app).post('/api/public/login'); expect(res.status).toBe(200); ^