Closed mcous closed 9 years ago
On further investigation, both should and chai call 0 not equal to -0 in deep comparisons. Might be easier to just eliminate -0 in the app. Frustrating, but whatever.
Failing tests were corrected, but I still want to eventually move this to Chai because it seems like a better supported assertion library.
Migrated everything to chai. Happily enough, this also fixed the few tests that were failing in IE9. Woo.
Specifically, a change in how .eql works with arrays seems to be causing failures in edge cases like -0 compared to 0.
Short term fix: rewrite failing tests. Long term fix: move library to chai with expect syntax.