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)間違ったIDのCRUD GET/customers /のお客様:
Uncaught AssertionError: expected {} to equal {}
+ expected - actual