25+5 Clock is working but doesn't pass the tests

Hi y’all,
I’m working on the 25+5 clock, and the timer itself works perfectly, but I only pass 28/29 . The test that doesn’t pass is the thirteenth with the following error:
"Timer has switched to Break time, but it didn’t start with the correct value.: expected 4 to equal 5
AssertionError: Timer has switched to Break time, but it didn’t start with the correct value.: expected 4 to equal 5 "

Github page: GitHub - Banzaidev/25-5-clock at dev

I’ve tried everything, please someone help me

I managed to make all the tests pass, I just rewrote all the code that makes the timer function, using Date objects

2 Likes

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