This commit is contained in:
Mylloon 2024-09-27 15:13:48 +02:00
parent 472a21b2f0
commit 96d84eed29
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

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