Replies: 1 comment 1 reply
-
I kept digging for a solution, and I finally found this one, directly using the
But one question remains: is there a way to configure the way |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone !
Based on this excellent post, I tried to test arrays deep equality, making sure the item order is not relevant.
It works perfectly when having simple properties or object properties. But it fails when having an inner array property which order does not match.
Here is a Typescript code example:
Do you have any idea how I could make sure inner arrays order is not relevant when comparing objects? (like the
items
inner property in the example above)Beta Was this translation helpful? Give feedback.
All reactions