The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 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 | }); |