Skip to content
No description, website, or topics provided.
JavaScript HTML
Branch: master
Clone or download
Latest commit 0b7c8ba Dec 16, 2019


Unofficial Cypress utilities for testing Redux stores.

npm i -D cypress-redux


1. Expose the Redux store for your application

Assign your redux store to so Cypress can access it. We've included a utility that does this automatically when the Cypress runner is detected.

// in your entrypoint file
import registerStore from 'cypress-redux/registerStore'
const store = createStore()

2. Import Cypress commands

Import this library in one of your support files, and you'll be good to go!

// cypress/support/index.(ts|js)
import 'cypress-redux'
You can’t perform that action at this time.