Skip to content
Branch: master
Find file History

README.md

Unit testing React code

A little React greeting.jsx component is tested (inside Cypress test runner) using

cypress-react-unit-test example

The screenshot below shows how cypress-react-unit-test mounts a React component as "mini" web application.

Testing React component using cypress-react-unit-test

Read Sliding Down the Testing Pyramid for more details about testing individual components by mounting them in the Cypress test runner's iframe.

You can’t perform that action at this time.