How do you guys test alarms?

How do you guys test alarms?

For example if I have an alarm set in 10 seconds, do I just have to await a promise to wait for the alarm to get triggered or can I use something liek
Sinon
Was this page helpful?