-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
I am using enzyme.mount to render a Component with some child Components and I need to pass a context to these child Components. I can pass a context with options.context to the Component but I would like to pass something else to Component's children.
The options object in mount would be good place to do this, however, it is currently not possible. I know I can create my own wrapper with childContextTypes, but for better readability and simplicity of tests, to do this directly with enzyme.mount would be amazing.
What do you think?
Sridatta7, tdwright, idobleicher and TomasHubelbauer
Metadata
Metadata
Assignees
Labels
No labels