Skip to content

scheduleAlarmSet double-schedules when start equals end #44

Description

@imiziuk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions