-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zora doesn't recognize differences bewteen Maps #174
Comments
Thanks a lot @jwhitaker-swiftnav You are right. I had a look at
I believe this should add the intended behaviour. An alternative would be to wrap the fast-deep-equal If you want to go the extra mile. You can then add another PR on the reporting side (I am not sure Map diff are properly reported in both reporters -tap & diff) Let me know if you need any help cheers |
got the checking going, the reporter is a bit of a rabbithole though. options seem to be reimplement the recursion of JSON.stringify in-house, use console.dir (meaning output is implementation-dependent), or pull in a dependency. Going with console.dir for now, because I don't want to spend a lot of effort before making sure you're ok with the approach. |
Related to #126, but opening a new issue to focus on a current specific gotcha:
Expected: this test should fail.
Actual: this test reports as successful.
I'm aware that this is going to be related to the library
zora
is using for equality checking, but the current behaviour is certainly surprising to azora
end user. Happy to contribute a PR if you can provide direction on how you'd like to solve this.Cheers and thanks
Jarrad
The text was updated successfully, but these errors were encountered: