chai-quantifiers
Advanced tools
Comparing version 1.0.12 to 1.0.13
{ | ||
"name": "chai-quantifiers", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "Array quantifier assertions for chai assertion library", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -10,2 +10,3 @@ # chai-quantifiers | ||
[![code style](https://img.shields.io/badge/code_style-airbnb-brightgreen.svg)](https://github.com/airbnb/javascript) | ||
[![Types](https://img.shields.io/npm/types/chai-quantifiers.svg)](https://www.npmjs.com/package/chai-quantifiers) | ||
[![License Status](http://img.shields.io/npm/l/chai-quantifiers.svg)]() | ||
@@ -22,7 +23,9 @@ | ||
There are three assertions available, applicable to arrays. | ||
* containAll -- Asserts that all array items are true in respect to a predicate. | ||
* containOne -- Asserts that at least one array item is true in respect to a predicate. | ||
* containExactlyOne -- Asserts that exactly one array item is true in respect to a predicate. | ||
* containAll -- Asserts that all array items are true in respect to a predicate. | ||
* containOne -- Asserts that at least one array item is true in respect to a predicate. | ||
* containExactlyOne -- Asserts that exactly one array item is true in respect to a predicate. | ||
A quick example: | ||
```javascript | ||
@@ -48,1 +51,3 @@ const chai = require('chai'); | ||
``` | ||
This module also includes types for *TypeScript*. |
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
8888
51