warning beeper is busted, watch your ears
passing 28 of 29 not really sure what I’m doing wrong.
Please help and take a look, it is saying value is 4 when it should be 5.
Using React Component state, I believe I am using prevState where appropriate, but it is failing nonetheless.
- When a session countdown reaches zero (NOTE: timer MUST reach 00:00), a new break countdown should begin, counting down from the value currently displayed in the id=“break-length” element.
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
at Proxy.c (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:549:1889)
at Proxy.l (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:431:130)
at Function.n.strictEqual (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:574:655)
at a. (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:179426)
at l (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:98461)
at Generator._invoke (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:98214)
at Generator.forEach.e. [as next] (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:98818)
at r (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:1:1054)
at i (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:1:1265)