Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

click-returns-true

A simple Cypress React component test to check if the onClick prop has been called after clicking on a button. Read the blog post "A Quick React Component Test"

Install and open

$ npm install
$ npx cypress open-ct
# click on the spec file

About

A simple Cypress React component test to check if the `onClick` prop has been called after clicking on a button.

Topics

Resources

Stars

Watchers

Forks