Hello all. I’ve been working on the Pomodoro clock all day, and I’m at 28/29 tests passed. However, I can’t get User Story #23 to pass.
Timer has reached zero but didn’t switch to Break time: expected ‘Status: working’ to not equal ‘Status: working’
AssertionError: Timer has reached zero but didn’t switch to Break time: expected ‘Status: working’ to not equal 'Status: working’at Proxy.c (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js
I think the problem must be between lines 16 and 37. I’m using setTimeout on the functions which switch between session and break mode so that the clock hits 0. What’s also confusing is that I’m passing User Story #25, which is the same thing, but for the session time.
Hope that makes sense. Any help would be greatly appreciated.