T-DEV-811/IOT/test/testGet.js
2023-04-11 12:54:20 +02:00

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');