The best way to control Claude Code, Codex and more from any computer or phone

main
ts 9 lines 356 Bytes
Raw
1 import { describe, expect, it } from "vite-plus/test";
2
3 import { formatDiagnosticsDuration } from "./DiagnosticsSettings.logic";
4
5 describe("formatDiagnosticsDuration", () => {
6 it("prints durations that round up to a second in seconds", () => {
7 expect([999.4, 999.6, 1_000].map(formatDiagnosticsDuration)).toEqual(["999 ms", "1 s", "1 s"]);
8 });
9 });