Closed ivan-kleshnin closed 8 years ago
Standard node's assert performs just fine. Chai is extremely overengineered. "Plugins for equality checks" – are you kidding me?
import assert from "assert" assertEq = assert.deepStrictEqual; assert(data.prop); assertEq(foo, bar); ...
Funny fact: code is even more readable now...
Standard node's assert performs just fine. Chai is extremely overengineered. "Plugins for equality checks" – are you kidding me?
Funny fact: code is even more readable now...