Christopher Hafke

Results 2 comments of Christopher Hafke

One specific case that spawned this discussion was `expect(deepEqual(value1, value2)).to.equal(true)` Initially, I had written `expect(deepEqual(value1, value2)).to.be.ok()` not being aware that ok() only checks for being non-nil and not for being...

That's fair. There is the option to parameterize the deepEqual function to allow for variety in how it should be used (e.g. for metatables, self references, maximal recursion depths etc),...