chai icon indicating copy to clipboard operation
chai copied to clipboard

non-enumerable Symbol properties should not fail equality

Open gullerya opened this issue 2 years ago • 2 comments

The 4.3.7 version added comparison of object properties keyed by Symbol, but elsewhere (deep-eql) it is already decided that only enumerable symbols, those that were deliberately designated to be so by the implementation, should be taken into consideration of the test. Please release a version of chai that is not failing when deepEqual on non-enumerable Symbol properties.

gullerya avatar Feb 27 '23 15:02 gullerya

Would be great to hear feedback on this ticket

simlu avatar Jul 24 '23 18:07 simlu

Hey @gullerya; can you add a minimal reproduction steps of the issue you are having?

koddsson avatar Feb 16 '24 11:02 koddsson