Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

assert-array-includes-matching-items

Package Overview
Dependencies
4
Maintainers
1
Versions
1
Issues
File Explorer

Advanced tools

assert-array-includes-matching-items

an assert to make sure an array contains matching unordered items

    0.9.0latest

Version published
Maintainers
1
Yearly downloads
18,839
increased by35.66%

Weekly downloads

Readme

Source

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: output

Keywords

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc