7
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)お客様/顧客/:あなたはあなたの場合deep
を使いたいモカ、チャイ、キャッチされないでAssertionError:{同等に{}が期待} +期待 - 間違ったIDを持つCRUDがGET実際の
Uncaught AssertionError: expected {} to equal {}
+ expected - actual