chore: merge dev to main #181

Merged
Anri merged 40 commits from dev into main 2024-09-27 20:49:36 +02:00
Showing only changes of commit ea41e18bd0 - Show all commits

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);
});
}
});