consider this:
var sym = Symbol('foo');
expect({[sym] : 1}).to.deep.equal({[sym] : 0});
assert.deepEqual({[sym] : 1}, {[sym] : 0});
I would expect both variants to fail, but they pass and do not throw an Error.
Using chai 4.2.0
The documentation does not state anything about this behaviour.
Is this working as intended or a bug?
consider this:
I would expect both variants to fail, but they pass and do not throw an Error.
Using chai 4.2.0
The documentation does not state anything about this behaviour.
Is this working as intended or a bug?