Pomodoro Clock - Help Please

I initially built the project in VScode and it seem to work expect the sounds that i have yet to put in, but the tests not only take forever to pass but at most 15/29 do, and i have no idea what am i supposed to do.


What are the error messages you are receiving?

Since then i hooked up audio.
These tests fail
1, 2, 3, 4, 5, 6, 7, 12, 13, 14, 15

You can run the test to see for yourself. Basically timer never reaches 00:00, cant see increment and decrement, session length apparently can be over 60 or less than 0, and the timer never resets.

From what i can tell everything works, so hard to fix that.

@Nadaga from running the tests on my own projects I can tell you that if you read the error message carefully it tells you just what the problem is.
Looking at your code I do not see anything testing for the number 0. Look at my Pomodoro clock code. It may help you.
I did something like

if (seconds === 0) {