toContainReact looks like an irrelevant name to me.
An instance of a component <MyComponent /> (as opposed to the component itself function MyComponent() {}) according to React core team blog should be called Element. So the name could be toContainElement, but there is already toContainMatchingElement, so it will look confusing.
Anyway, toContainReact doesn't look like an appropriate name, let's come up with a better one. Maybe toContainComponentInstance.
toContainReactlooks like an irrelevant name to me.An instance of a component
<MyComponent />(as opposed to the component itselffunction MyComponent() {}) according to React core team blog should be called Element. So the name could betoContainElement, but there is alreadytoContainMatchingElement, so it will look confusing.Anyway,
toContainReactdoesn't look like an appropriate name, let's come up with a better one. MaybetoContainComponentInstance.