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";
// 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");
});
}
});
}); */