Automattic / expect.js

Minimalistic BDD-style assertions for Node.JS and the browser.
2.11k stars 209 forks source link

Fix eql for ES6 Set objects #144

Closed robbie-c closed 1 year ago

robbie-c commented 9 years ago

Do an instanceof test for the objects, if they are both Set classes then treat is as a special case, and use the new setEquiv function.

Added tests that previously failed, and now pass with my changes.