My tests don´t make sense in my 25 + 5 clock

Most of the #Timer tests fails, but testing manually it seams to work. The values for the break time and session time got negative wile testing but never wen clicking normally (i manage to kind of fixing it, but i don’t believe i did it right). I rewrote this in different ways but always got the same result. Please help me.
This is my code:
https://codepen.io/leonardovieira25/pen/zYpmaWv

if it’s working normally and it’s functional, then good work. you did it👍

freeCodeCamp test codes don’t get along too well with the new render method of ReactDOM 18 (react strict mode).

Try replacing

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
    <App />
  </React.StrictMode>
);

with the old react rendering

ReactDOM.render(<App />, document.getElementById('id'));
1 Like

Thank you! With this other method the tests are working perfectly!