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.15k stars 698 forks source link

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

Closed koddsson closed 10 months ago

koddsson commented 10 months ago

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

koddsson commented 10 months ago

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