Failing tests (5): All tests in AlarmScheduler.test.tsx › showAlertAsync.
What the tests assert: After calling showAlertAsync(...), Alert.alert should already have been invoked synchronously (so callers, including the next queued caller, observe a single visible alert on the same frame).
What actually happens: The first showAlertAsync call returns without ever invoking Alert.alert in the current tick. alertSpy.mock.calls[0] is undefined when the assertion runs.
Failing tests (5): All tests in AlarmScheduler.test.tsx › showAlertAsync.
What the tests assert: After calling showAlertAsync(...), Alert.alert should already have been invoked synchronously (so callers, including the next queued caller, observe a single visible alert on the same frame).
What actually happens: The first showAlertAsync call returns without ever invoking Alert.alert in the current tick. alertSpy.mock.calls[0] is undefined when the assertion runs.