0.9.0 • Published 6 years ago
assert-array-includes-matching-items v0.9.0
assert-array-includes-matching-items
just a helpful assert with nice output which I was lacking in jest/chai/jasmine
import assertArrayIncludesMatchingItems from 'assert-array-includes-matching-items'
assertArrayIncludesMatchingItems(someArray, arrayOfItemsToFind)
if the assertion fails, this is logged:
0.9.0
6 years ago