Skip to content
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

Remove Context to enable Enzyme tests #18

Closed
wischli opened this issue Aug 11, 2019 · 1 comment
Closed

Remove Context to enable Enzyme tests #18

wischli opened this issue Aug 11, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request priority-high Highest priority
Milestone

Comments

@wischli
Copy link
Owner

wischli commented Aug 11, 2019

As the useContext hook is not working with Enzyme shallow rendering yet, remove the Context API and pass as props instead.

@wischli wischli self-assigned this Aug 11, 2019
@wischli wischli added enhancement New feature or request priority-high Highest priority labels Aug 11, 2019
@wischli wischli added this to the 1.00.0 milestone Aug 11, 2019
@wischli
Copy link
Owner Author

wischli commented Aug 11, 2019

Resolved by #21

@wischli wischli closed this as completed Aug 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-high Highest priority
Projects
None yet
Development

No branches or pull requests

1 participant