Basically what the title says - I’ve got the last one in progress but I cannot for the life of me figure out why the tests don’t think the clock displays 00:00 when it seems to be doing it fine. Link to my CodePen
Apologies it’s not styled super well yet but it’s easy enough to see what’s going on. Any help would be super appreciated!!!
The time rendered to the dom is timerSeconds (from the state of the App component) that has been passed to my formatTime() function, which changes the quantity of seconds in timerSeconds to a string in the mm:ss format required.
Currently, the timer defaults to one second so you can hit the ‘Start/Stop’ button, and see that the timer rendered to the screen will clearly show ‘00:00’. Which is why I’m confused!