chaijs / chai

BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.
https://chaijs.github.io
MIT License
8.11k stars 694 forks source link

Remove a bunch of if statements in test/should.js #1581

Closed koddsson closed 7 months ago

koddsson commented 7 months ago

I don't think these are needed anymore as we've dropped support for older browsers.

koddsson commented 7 months ago

I'd review the code changes with whitespace hidden: https://github.com/chaijs/chai/pull/1581/files?diff=split&w=1