it('GET /customers/ with wrong id', (done) => {
request
.get(`/customers/${wrongId}`)
.end((err, res) => {
expect(res.body).to.equals({});
expect(res).to.have.status(404);
done();
});
});
1) Clients CRUD GET/clients/avec un mauvais identifiant:
Uncaught AssertionError: expected {} to equal {}
+ expected - actual