I have been working on this test for a while, but I just can’t pass this test:
## 1. When a countdown reaches zero (NOTE: timer MUST reach 00:00), a sound indicating that time is up should play. This should utilize an HTML5
Timer has reached zero but audio is not playing while it should.: expected true to be false
Live site of my project: React Redux App (zkwong0804.github.io)
Source code: fcc-project-255clock/index.js at main · zkwong0804/fcc-project-255clock (github.com)
My countdown timer logic starts at line 55.
While I’m testing without test suite, my timer seems perform as expected. When the time reached 00:00, label is changed, and sound is played.
I would appreciate if someone could give me a hint on my mistake.