infer
Some checks failed
PR Check / lint-and-format (pull_request) Failing after 15s

This commit is contained in:
Mylloon 2024-09-27 13:21:31 +02:00
parent 96ecceb700
commit ea41e18bd0
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,7 +1,7 @@
import { showDate } from "../../src/utils/time";
describe("Date with correct timezone", () => {
const map: Map<string, unknown> = new Map([["u_time_at", "@"]]);
const map = new Map([["u_time_at", "@"]]);
const date = new Date(1727434767686);
{
const name = "fr";
@ -29,3 +29,22 @@ describe("Date with correct timezone", () => {
}
});
describe("String time to seconds", () => {
{
const name = "todo";
// strToSeconds
test(name, () => {
expect(() => (name ? true : false)).toBe(true);
});
}
});
describe("Time delta", () => {
{
const name = "todo";
// timeDeltaToString
test(name, () => {
expect(() => (name ? true : false)).toBe(true);
});
}
});