deep.equal() and deep.include() doesn't compare the object keys as I expect it to. I found the issue when upgrading to v4 as the deep.equal() works fine in v3.5. It stopped working in v4+.
Here is a code to confirm the issue: https://jsfiddle.net/wLzrucae/3/.
I tried adding error to the allowed types for include() assertion, but it still failed on comparison. Any ideas?
deep.equal()anddeep.include()doesn't compare the object keys as I expect it to. I found the issue when upgrading to v4 as thedeep.equal()works fine in v3.5. It stopped working in v4+.Here is a code to confirm the issue: https://jsfiddle.net/wLzrucae/3/.
I tried adding
errorto the allowed types forinclude()assertion, but it still failed on comparison. Any ideas?