Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Mocking named import is not working #358

Closed
bahmutov opened this issue Jul 28, 2020 · 1 comment · Fixed by #359
Closed

Mocking named import is not working #358

bahmutov opened this issue Jul 28, 2020 · 1 comment · Fixed by #359

Comments

@bahmutov
Copy link
Contributor

bahmutov commented Jul 28, 2020

Seems this is due to default props breaking object imports

RemotePizza.defaultProps = {
  fetchIngredients: defaultFetchIngredients,
}
@bahmutov
Copy link
Contributor Author

🎉 This issue has been resolved in version 4.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant