You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
We switch to withProps from doing it the old fashioned way with a custom component. But all our Jest snapshots changed because withProps added a displayName that we didn't need. I looked at the source and the library adds the displayName for process.env.NODE_ENV !== 'production' - code here
I suggest an option to turn this off, rather than checking env variables. This way we could avoid modifying our snapshots when adding recompose helpers. If anyone likes this idea, I can submit a PR.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We switch to
withProps
from doing it the old fashioned way with a custom component. But all our Jest snapshots changed becausewithProps
added adisplayName
that we didn't need. I looked at the source and the library adds the displayName forprocess.env.NODE_ENV !== 'production'
- code hereI suggest an option to turn this off, rather than checking env variables. This way we could avoid modifying our snapshots when adding recompose helpers. If anyone likes this idea, I can submit a PR.
The text was updated successfully, but these errors were encountered: