@cypress/react
Mount React components in the open source Cypress.io test runnerNote: This package is bundled with thecypress
package and should not need to be installed separately. See the React Component Testing Docs for mounting React components. Installing and importingmount
from@cypress/react
should only be done for advanced use-cases.
Development
Runyarn build
to compile and sync packages to the cypress
cli package.Run
yarn cy:open
to open Cypress component testing against real-world examples.Run
yarn test
to execute headless Cypress tests.