Chai
res.body.should.to.be.an.instanceof(Array);
res.body.should.to.have.lengthOf(1);
res.body.should.to.have.deep.nested.property("[0].ean", data.ean);Last updated
res.body.should.to.be.an.instanceof(Array);
res.body.should.to.have.lengthOf(1);
res.body.should.to.have.deep.nested.property("[0].ean", data.ean);Last updated