-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Added diff support for arrays and objects #95
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing! Could you add few tests and remove .DS_Store? At least one, for each change.
Co-authored-by: Andreas Hubel andreas.hubel@br.de
@@ -382,3 +382,145 @@ test('', () => { | |||
} | |||
}); | |||
}); | |||
|
|||
test('array as default value in argument (same)', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before this pr, these arrays would've been marked as different.
Thank you, I'll release it today :) |
Hey, do you know when you'll get around releasing this? |
When diffing
defaultValue
, we sometimes get an object or array back. Added custom handling for such cases.Co-authored-by: Andreas Hubel andreas.hubel@br.de