add more tests for coverage

This commit is contained in:
Michael C
2023-02-20 22:21:46 -05:00
parent d04230a1c4
commit 72fb4eb6ec
5 changed files with 66 additions and 4 deletions

View File

@@ -338,4 +338,13 @@ describe("getSegmentInfo", () => {
})
.catch(err => done(err));
});
it("Should return 400 if no UUIDs not sent", (done) => {
client.get(endpoint)
.then(res => {
if (res.status !== 400) done(`non 400 response code: ${res.status}`);
else done(); // pass
})
.catch(err => done(err));
});
});