Stabilize unit and UI tests for SportsTime

This commit is contained in:
treyt
2026-02-18 13:00:15 -06:00
parent 1488be7c1f
commit 20ac1a7e59
49 changed files with 432 additions and 325 deletions

View File

@@ -35,7 +35,7 @@ struct DynamicSportTests {
)
}
private var calendar: Calendar { Calendar.current }
private var calendar: Calendar { TestClock.calendar }
private func date(month: Int) -> Date {
calendar.date(from: DateComponents(year: 2026, month: month, day: 15))!