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
Use .toContainAllValues when checking if an object only contains all of the provided values.
test('passes when object only contains all of the given values',()=>{consto={a: 'foo',b: 'bar',c: 'baz'};expect(o).toContainAllValues(['foo','bar','baz']);expect(o).toContainAllValues(['baz','bar','foo']);expect(o).not.toContainAllValues(['bar','foo']);});
The text was updated successfully, but these errors were encountered:
Feature Request
.toContainAllValues([values])
Use
.toContainAllValues
when checking if an object only contains all of the provided values.The text was updated successfully, but these errors were encountered: