# \[SOLVED\] Pomodoro Clock - test's results different in local and CodePen

**URL:** <https://forum.freecodecamp.org/t/solved-pomodoro-clock-tests-results-different-in-local-and-codepen/230061>\
**Category:** General\
**Created:** [September 26, 2018, 4:43pm UTC](https://forum.freecodecamp.org/t/solved-pomodoro-clock-tests-results-different-in-local-and-codepen/230061 "2018-09-26T16:43:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![franzuFD](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/franzufd/32/100912_2.png) [@franzuFD](https://forum.freecodecamp.org/u/franzuFD)\
**Post date:** [September 26, 2018, 4:43pm UTC](https://forum.freecodecamp.org/t/solved-pomodoro-clock-tests-results-different-in-local-and-codepen/230061/1 "2018-09-26T16:43:30Z")

</div>

Hi everybody,

I hope you can help me, I’m deploying the pomodoro clock in local with “create react app” and when I launch the tester the result is 28/29, but if I paste the code in Codepen the result is 22/29.  
It may is a bug of the tester? More probably it’s my code but I can’t figure it out.  
Can you take a look and give me some tips?

**Update:**

This is the only error in local:

1. The audio element with id of “beep” must stop playing and be rewound to the beginning when the element with the id of “reset” is clicked.

and the result:

Audio element was not rewound when reset was clicked. HINT: use the currentTime property of the audio element to rewind.: expected 0 to equal 3.799665  
AssertionError: Audio element was not rewound when reset was clicked. HINT: use the currentTime property of the audio element to rewind.: expected 0 to equal 3.799665  
at Function.n.equal ([https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:546:259](https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:546:259))  
at r. ([https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:622:184806](https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:622:184806))  
at c ([https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:31654](https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:31654))  
at o.f.run ([https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:31590](https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:31590))  
at m.runTest ([https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:37160](https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:37160))  
at [https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:38022](https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:38022)  
at s ([https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:36472](https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:36472))  
at [https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:36541](https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:36541)  
at o ([https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:35947](https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:35947))  
at [https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:36359](https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:570:36359)  
at f ([https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:565:1356](https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:565:1356))

**Update 2:**

Fixed the last error, the problem was I didn’t use the currentTime properties for audio and video, so now the problem is the difference between the tests.

## **SOLUTION:**

The solution was quite simple, I’ve loaded the wrong external scripts in my Pen settings.  
So any newbie like me needs it here is the links:

**React:** [https://unpkg.com/react@16/umd/react.development.js](https://unpkg.com/react@16/umd/react.development.js)  
**React-DOM:** [https://unpkg.com/react-dom@16/umd/react-dom.development.js](https://unpkg.com/react-dom@16/umd/react-dom.development.js)

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:10pm UTC](https://forum.freecodecamp.org/t/solved-pomodoro-clock-tests-results-different-in-local-and-codepen/230061/2 "2021-01-17T20:10:10Z")

</div>

Closed on January 17, 2021, 8:10pm UTC


