Composable Archtitecture Tests: Data pointer equality check necessary? #628
Unanswered
mschonvogel
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Can you provide a little more info? Are you testing the store via TestStore or just trying to get it working? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently testing a store and the fact that the pointer of a Data Object in my state is being compared makes it impossible for me to test that part with a mock. Is there a way to work around this?
For two data objects to be equal it should be enough if they hold the same number of bytes, and if the bytes at the same position in the objects are the same.
Beta Was this translation helpful? Give feedback.
All reactions