Hello everyone. I am currently having an issue with the tests on the Pomodoro calculator. Everything they ask works perfectly fine to me but tests 1 and 8 from the Timer section do not work for some reason.
This is the Codepen link for testing the source code: Pomodoro
These both look like extra render errors where the state is one off from the display and it only matters when you test (usually).
For instance, for the first failing test, try logging session and min from the reset function and your timer. You’ll notice the display is one off from the logged values. When you simulate the test by running it and then resetting, you’ll get some output like: