ejected-react-scripts-example
Component testing using cypress-react-unit-test and ejected react-scripts
This example repo was created with
npx create-react-app ejected-react-scripts-example
cd ejected-react-scripts-example
yarn eject
Then I have added Cypress and cypress-react-unit-test
yarn add -D cypress cypress-react-unit-test
The settings are in cypress.json, and we use settings for react scripts from cypress-react-unit-test recipes. Even with ejected react scripts!
The test src/App.spec.js is passing