diff --git a/tests/utils/time.test.ts b/tests/utils/time.test.ts index 0c0ef53..82266ff 100644 --- a/tests/utils/time.test.ts +++ b/tests/utils/time.test.ts @@ -31,22 +31,20 @@ describe("Date with correct timezone", () => { } }); -describe("String time to seconds", () => { +/* describe("String time to seconds", () => { { - const name = "todo"; - // strToSeconds + const name = "10m30"; test(name, () => { - expect(() => (name ? true : false)).toBe(true); + expect(strToSeconds(name)).toBe(630); }); } -}); +}); */ -describe("Time delta", () => { +/* describe("Time delta", () => { { - const name = "todo"; - // timeDeltaToString - test(name, () => { - expect(() => (name ? true : false)).toBe(true); + const name = 1312; + test(name.toString(), () => { + expect(timeDeltaToString(name)).toBe("0 secs"); }); } -}); +}); */