its complaining about “formatted time” but “on clock” but it seems fine to me!!
i tried to use “modulus” on “minutes” as you have done it on “seconds” but no effect on outcome
i also noticed, you used Math.floor on your “minute” without that “it shows” bad string for a “timer” error,
i also saw in app initial state you are using somewhat different “values” for timers (e.g. timeLeft: 1500), i suspect “conversions” of them and then in turn for “output” its not aligning currently for test case!!
i would recommend you re-consider your “timer” string, i would have given you my more precise two cents on it, but thats what i could offer for now!!
in my attempt i used something like this, and i saw you have done something similar sessionTime < 10 ? "0" + sessionTime + ":00" : sessionTime + ":00"
I think it’s because the test expects time-left to change when you increase/decrease the session/break time. It does not wait for the timer to run before checking time-left.
It clicks the increase session button 35 times and immediately after checks the time-left.
You can look at the example project to see the behavior I’m talking about if it isn’t clear.