Files
cypress/npm/react/examples/rollup

example: rollup

Compiling component tests using Rollup bundler

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
npm run build
  1. Start Cypress
npm run cy:open
# or just run headless tests
npm test