You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.