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.