New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cypress-redux

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-redux

Unofficial Cypress utilities for testing Redux stores

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
232
decreased by-29.91%
Maintainers
1
Weekly downloads
 
Created
Source

cypress-redux

Unofficial Cypress utilities for testing Redux stores.

npm i -D cypress-redux

Configuration

1. Expose the Redux store for your application

Assign your redux store to window.store 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()
registerStore(store)

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'

Keywords

FAQs

Package last updated on 16 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc