You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@JimBarrows It doesn't look like chai-things supports what you're trying to do. The all flag is for testing that each element in the target array passes a given assertion. For example:
[4,11,15].should.all.be.below(20);// Tests that each element in the array is below 20.
The good news is that in the upcoming Chai v4, the members assertion supports the deep flag. So you can accomplish your goal with just base Chai. It's available right now on npm as [email protected] if you want to give it a shot.
I was expecting this to return true. The only difference I can see is that the fields are in a different order. Is there something I'm missing?
The text was updated successfully, but these errors were encountered: