add additional/missing tests

This commit is contained in:
Michael C
2022-09-20 23:22:21 -04:00
parent f5bafa2868
commit 3f470a72f5
7 changed files with 271 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
import assert from "assert";
import { client } from "../utils/httpClient";
const endpoint = "/api/getDaysSavedFormatted";
describe("getDaysSavedFormatted", () => {
it("can get days saved", async () => {
const result = await client({ url: endpoint });
assert.ok(result.data.daysSaved >= 0);
});
});