jonastirona/ao5

Test: Add unit tests for formatTime utility

オープン

#3 opened on 2025/12/02

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (0 件のフォーク)auto 404
good first issuetesting

Repository metrics

Stars
 (2 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Description: Our time formatting logic needs robust testing to ensure it handles edge cases correctly.

File: apps/web/src/lib/formatTime.test.ts

Task:

  • Create a test file for the formatTime function.
  • Write tests covering sub-minute times (e.g., 9.55).
  • Write tests covering multi-minute times (e.g., 1:05.23).
  • Write tests for zero values.
  • Write tests for large values.

コントリビューターガイド