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 useless guards and add parentheses to constuctors #1593

Closed koddsson closed 10 months ago

koddsson commented 10 months ago

I thought I already done this but I guess not? These APIs should be supported in all environments that we test in so we can remove these guards. I also noticed that we don't have parentheses on some constructor calls so I added those.