DEV Community

PJ Mantoss
PJ Mantoss

Posted on

1 1

How can I make this React Project Pass some Tests?

Hello everyone! I just concluded the first project in the ‘Front End Libraries course’ on FreeCodeCamp - The Random Quote Machine, using React JS. The app is working, but it’s failing almost all the tests in the test suite. How can I make it to pass all the tests?

The project - https://codesandbox.io/s/charming-hill-fvi4f

The Test Requirements - https://www.freecodecamp.org/learn/front-end-libraries/front-end-libraries-projects/build-a-random-quote-machine

The test suite - https://codepen.io/freeCodeCamp/pen/MJjpwO

Thank you for your help.

Top comments (0)

SurveyJS custom survey software

JavaScript UI Library for Surveys and Forms

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

View demo

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay