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

paratest

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paratest - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

4

package.json
{
"name": "paratest",
"version": "0.0.5",
"version": "0.0.6",
"description": "parameterize your js tests",

@@ -17,5 +17,7 @@ "main": "index.js",

"keywords": [
"chai",
"jasmine",
"jest",
"js",
"mocha",
"parameterized",

@@ -22,0 +24,0 @@ "paratest",

@@ -50,2 +50,14 @@ # paratest

tested with jasmine and jest
jasmine and jest work out of the box. to use mocha w/ chai, simply pass in a function as the third argument to paratest that does the assertion of your choice.
```js
const expect = require('chai').expect;
...
paratest(
"compute",
tests,
(expected, actual) => expect(actual).to.deep.equal(expected)
);
```
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