I can’t seem to get the first audio test to pass but I’ve gotten every other test to pass. Any ideas on what I’m doing wrong?
CodePen Code
This might be related to React 18 incompatibilities.
See:
opened 05:23PM - 11 May 22 UTC
type: bug
help wanted
scope: curriculum
status: work in progress
I have edited this issue.
Code that is passing using React 17 is failing with… React 18.
It seems to be an issue with the new batch rendering and our tests. At this time, I'm not sure what the best solution is. I haven't really looked into it much.
### Affected Page
* Random Quote Machine
* The fCC example is using jQuery, I tested it with React 18 and it worked just fine.
* Markdown Previewer
* Works
* JavaScript Calculator ✅ (the example project is passing but we may have to use a longer delay as I have seen at least one project fail with the new test code. I have not yet tested that code with a longer delay)
* 9/16 passed
* Example - https://codepen.io/lasjorg/pen/JjpRybg
* 25 + 5 Clock
* 13/29 passed (The test is no longer able to manipulate the timer so it is slow to test)
* Example - https://codepen.io/lasjorg/pen/WNMGEOM
* Drum Machine (fixed) ✅
* 7/8 passed
* Example - https://codepen.io/lasjorg/pen/jOZrXGv
Tests: https://github.com/freeCodeCamp/testable-projects-fcc/blob/main/src/project-tests/
### Additional context
Forum threads:
https://forum.freecodecamp.org/t/drum-machine-test-7-is-failing/507800/
https://forum.freecodecamp.org/t/stuck-on-drum-machine-test-7/508120/
https://forum.freecodecamp.org/t/25-5-clock-pomodoro-timer-not-passing-test-12-decrease-break-time/504446/12
https://forum.freecodecamp.org/t/my-tests-don-t-make-sense-in-my-25-5-clock/504936
There still work being done to fix this, but I’m not sure where it stands as of today. In the mean-time downgrading to version 17 should help, without hurting your code implementation AFAIK.
I just downgraded but it still won’t pass.
system
Closed
February 22, 2023, 10:40am
4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.