Comparing version 0.0.5 to 0.0.6
{ | ||
"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) | ||
); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4356
63