Pomodoro Clock Test Bug?

Pomodoro Clock Test Bug?
0

My code: https://codepen.io/markweig/pen/oNjmpvP

Tests are all passing with the code that I have commented out, however the browser throws “Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause()”

When I remove the comments to handle play() asynchronously, test 29 fails even though the sound does pause properly. Can anybody tell me if I’m missing something?