test(main): completar fase 2 con cobertura de iconos y timing

This commit is contained in:
Pandipipas
2026-02-21 18:42:27 +01:00
parent d3d33324ff
commit 50b145a320
7 changed files with 154 additions and 16 deletions
+3
View File
@@ -0,0 +1,3 @@
export function getRemainingDelayMs(targetDelayMs: number, startedAtMs: number, currentTimeMs: number = Date.now()): number {
return Math.max(0, targetDelayMs - (currentTimeMs - startedAtMs));
}