Open rgaiacs opened 4 years ago
POST /api/v1/descricoes › admin expect(received).toBe(expected) // Object.is equality Expected: 201 Received: 400 76 | .then( 77 | response => { > 78 | expect(response.statusCode).toBe(HttpStatus.CREATED); | ^ 79 | expect( 80 | response.body 81 | ).toMatchObject( at src/__tests__/description.js:78:57 ● POST /api/v1/descricoes (missing nome) › admin expect(received).toBe(expected) // Object.is equality Expected: 201 Received: 400 143 | .then( 144 | response => { > 145 | expect(response.statusCode).toBe(HttpStatus.CREATED); | ^ 146 | expect( 147 | response.body 148 | ).toMatchObject( at src/__tests__/description.js:145:57