7 lines
181 B
JavaScript
7 lines
181 B
JavaScript
const { expect } = chai;
|
|
|
|
const response1 = await insomnia.send();
|
|
expect(response1.status).to.equal(200);
|
|
const body = JSON.parse(response1.data);
|
|
expect(body).to.be.an('object');
|