diff --git a/.history/IOT/test/listUsers_20230411105649.js b/.history/IOT/test/listUsers_20230411105649.js new file mode 100644 index 0000000..e69de29 diff --git a/.history/IOT/test/listUsers_20230411105948.js b/.history/IOT/test/listUsers_20230411105948.js new file mode 100644 index 0000000..790ece8 --- /dev/null +++ b/.history/IOT/test/listUsers_20230411105948.js @@ -0,0 +1,8 @@ +const response1 = await insomnia.send(); +const body = JSON.parse(response1.data); +//const item = body[0]; + +expect(body).to.be.an('object'); +//expect(item).to.be.an(''); +//expect(response1.status).to.equal(200); +//expect(item).to.have.property('symbol'); \ No newline at end of file diff --git a/IOT/test/listUsers.js b/IOT/test/listUsers.js new file mode 100644 index 0000000..790ece8 --- /dev/null +++ b/IOT/test/listUsers.js @@ -0,0 +1,8 @@ +const response1 = await insomnia.send(); +const body = JSON.parse(response1.data); +//const item = body[0]; + +expect(body).to.be.an('object'); +//expect(item).to.be.an(''); +//expect(response1.status).to.equal(200); +//expect(item).to.have.property('symbol'); \ No newline at end of file