Another 25+5 Clock failing test despite looking like it should pass

Hi all, I’m afraid this is yet another topic about a 25+5 clock that fails despite it seeming to work fine.

Here’s the link to the deployed page. And here’s a link to the github repository.

As you can see it passes every test except for #12, usually it’s in plain enough english for me to be able to decipher, but I’m really scratching my head with this one.
25 + 5 has paused but time continued elapsing: expected '00' to equal '11' AssertionError: 25 + 5 has paused but time continued elapsing: expected '00' to equal '11'

I assume it’s trying to reset the timer? It says so in the title of the test, but the timer does reset itself when I push the button. I hope my code isn’t too horribly unreadable, and I hope there’s help to be had without significant restructuring lol.

I really appreciate any help that can be given.

And it turns out I jumped the gun a bit early lol. I fixed the issue just by manually setting the mins and sec’s states in my reset function, despite the program doing it anyway.

Oh well, happy that it works. Sorry I had to rubber duck y’all ^^

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.