Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The tests with context were failing with the error: "Invariant Violation: Hooks can only be called inside the body of a function component". The root cause is somwhere between styled-components v5+ which started using React hooks and enzyme renderer. The cleanest workaround I have found is enzymejs/enzyme#2176 (comment)
- Loading branch information