Failing test:
AlarmScheduler.test.tsx › scheduleAlarmSet › schedules a single alarm when start equals end and is in the future
Expected number of calls: 1
Received number of calls: 2
What the test asserts: Calling scheduleAlarmSet(date, date, 5) should create exactly one trigger notification at date.getTime().
What actually happens: Two notifications are created
Failing test:
AlarmScheduler.test.tsx › scheduleAlarmSet › schedules a single alarm when start equals end and is in the future
Expected number of calls: 1
Received number of calls: 2
What the test asserts: Calling scheduleAlarmSet(date, date, 5) should create exactly one trigger notification at date.getTime().
What actually happens: Two notifications are created