From d31e6927dd641ffdd2fe770d1e6cfb3498046297 Mon Sep 17 00:00:00 2001 From: MDeghaud67 Date: Tue, 11 Apr 2023 11:00:25 +0200 Subject: [PATCH] test users --- .history/IOT/test/listUsers_20230411105649.js | 0 .history/IOT/test/listUsers_20230411105948.js | 8 ++++++++ IOT/test/listUsers.js | 8 ++++++++ 3 files changed, 16 insertions(+) create mode 100644 .history/IOT/test/listUsers_20230411105649.js create mode 100644 .history/IOT/test/listUsers_20230411105948.js create mode 100644 IOT/test/listUsers.js 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