https://github.com/capaj/assert-array-includes-matching-items
just a helpful assert which I was lacking in jest/chai/jasmine
https://github.com/capaj/assert-array-includes-matching-items
assert nodejs
Last synced: 3 months ago
JSON representation
just a helpful assert which I was lacking in jest/chai/jasmine
- Host: GitHub
- URL: https://github.com/capaj/assert-array-includes-matching-items
- Owner: capaj
- License: mit
- Created: 2018-04-04T09:27:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-04T12:47:10.000Z (over 8 years ago)
- Last Synced: 2025-09-07T09:59:00.987Z (10 months ago)
- Topics: assert, nodejs
- Language: JavaScript
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# assert-array-includes-matching-items
just a helpful assert with nice output which I was lacking in jest/chai/jasmine
```javascript
import assertArrayIncludesMatchingItems from 'assert-array-includes-matching-items'
assertArrayIncludesMatchingItems(someArray, arrayOfItemsToFind)
```
if the assertion fails, this is logged:
