Is it possible to assert that an array includes multiple specific items using chai?
For example, I would expect this to work:
['foo', 'bar'].should.include(['foo', 'bar'])
Instead chai throws: "expected [ 'foo', 'bar' ] to include [ 'foo', 'bar' ]"
I also tried this but it only asserts that the first item is present:
['foo', 'bar'].should.include('foo', 'bar') // variable args instead of array
What am I missing?