Skip to content

bahmutov/ejected-react-scripts-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Passing test

About

Component testing using cypress-react-unit-test and ejected react-scripts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published