mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-29 10:28:04 +03:00
10 lines
250 B
TypeScript
10 lines
250 B
TypeScript
import t from "tap";
|
|
import { GetMilisecondsSince } from "./misc";
|
|
|
|
t.test("#GetMilisecondsSince", (t) => {
|
|
const time = GetMilisecondsSince(10n);
|
|
t.ok(typeof time === "number" && time > 0, "Should return a number greater than 0.");
|
|
|
|
t.end();
|
|
});
|