Files
cypress/npm/react/examples/webpack-file

example: webpack-file

Component tests for projects using existing webpack.config.js file

Usage

  1. Make sure the root project has been built .
# in the root of the project
npm install
npm run build
  1. Run npm install in this folder to symlink the @cypress/react dependency.
# in this folder
npm install
  1. Start Cypress
npm run cy:open
# or just run headless tests
npm test

Notes

See tests in the cypress/component folder.