This commit is contained in:
parent
96ecceb700
commit
ea41e18bd0
1 changed files with 20 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue