Code AnalysisIntermediate 45s
Integration test scope
What does this test check?
Starter code
test('POST /users creates user', async () => {
const res = await request(app).post('/users').send({name: 'Test'});
expect(res.status).toBe(201);
});Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.