3 ms·
Thanks for this. Noticed whilst testing that renderIntoDocument in ReactTestUtils doesn't even render the ReactComponent into the DOM either and is due to be re
by GordyMD 11y ago
Thanks for this. Noticed whilst testing that renderIntoDocument in ReactTestUtils doesn't even render the ReactComponent into the DOM either and is due to be renamed. [1] Shallow rendering looks like the correctly renamed approach... I'll be updating my tests accordingly.
[1] https://github.com/facebook/react/blob/master/src/test/ReactTestUtils.js?source=c#L48 https://github.com/facebook/react/blob/master/src/test/React...