chai-quantifiers
Advanced tools
Comparing version 1.0.10 to 1.0.11
{ | ||
"name": "chai-quantifiers", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "Array quantifier assertions for chai assertion library", | ||
@@ -36,8 +36,8 @@ "main": "src/chai-quantifiers.js", | ||
"coveralls": "^3.1.0", | ||
"eslint": "^7.8.1", | ||
"eslint-config-airbnb-base": "^14.2.0", | ||
"eslint-plugin-import": "^2.22.0", | ||
"eslint": "^7.16.0", | ||
"eslint-config-airbnb-base": "^14.2.1", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-should-promised": "^2.0.0", | ||
"mocha": "^8.1.3", | ||
"mocha": "^8.2.1", | ||
"nyc": "^15.1.0" | ||
@@ -44,0 +44,0 @@ }, |
@@ -7,3 +7,2 @@ # chai-quantifiers | ||
[![Coverage Status](https://coveralls.io/repos/github/frankthelen/chai-quantifiers/badge.svg?branch=master)](https://coveralls.io/github/frankthelen/chai-quantifiers?branch=master) | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/frankthelen/chai-quantifiers.svg)](https://greenkeeper.io/) | ||
[![Maintainability](https://api.codeclimate.com/v1/badges/44fb4c780c3f36b0d04f/maintainability)](https://codeclimate.com/github/frankthelen/chai-quantifiers/maintainability) | ||
@@ -10,0 +9,0 @@ [![node](https://img.shields.io/node/v/chai-quantifiers.svg)]() |
@@ -6,3 +6,3 @@ const evaluate = (array, predicate) => array.reduce( | ||
: { t: acc.t, f: [...acc.f, i] } | ||
), { t: [], f: [] } | ||
), { t: [], f: [] }, | ||
); | ||
@@ -17,3 +17,3 @@ | ||
`expected array to contain all items to be true, but items at indexes [${f}] are false`, | ||
'expected array not to contain all items to be true, but all items are true' | ||
'expected array not to contain all items to be true, but all items are true', | ||
); | ||
@@ -28,3 +28,3 @@ }); | ||
'expected array to contain at least one item to be true, but all items are false', | ||
`expected array not to contain at least one item to be true, but items at indexes [${t}] are true` | ||
`expected array not to contain at least one item to be true, but items at indexes [${t}] are true`, | ||
); | ||
@@ -39,3 +39,3 @@ }); | ||
`expected array to exactly contain one item to be true, but items at indexes [${t}] are true`, | ||
`expected array not to exactly contain one item to be true, but item at index [${t}] is true` | ||
`expected array not to exactly contain one item to be true, but item at index [${t}] is true`, | ||
); | ||
@@ -42,0 +42,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
6691
46