Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cypress-each

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-each

Simple implementation for describe.each and it.each

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
60K
increased by3.98%
Maintainers
1
Weekly downloads
 
Created
Source

cypress-each cypress version

An demo of mocha-each and custom describe.each and it.each implementation for Cypress

Find the implementation in src/index.js

Specs

  • it-spec.js uses no shortcuts to define multiple tests that are almost the same. We want to avoid the repetition
  • it-each-spec.js uses the it.each helper to generate multiple it tests given a data array
  • describe-each-spec.js uses describe.each helper to create describe blocks for each item in the given data array
  • mocha-each-spec.js uses 3rd party mocha-each to generate it tests for each data item

FAQs

Package last updated on 12 Oct 2021

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