dillon1000/react
Commit
Browse files Fix ReactTestUtils.mockComponent so that mockTagName is not ignored.
The `mockTagName` parameter was always optional, and so probably was not used very often. If you tried to use it, it would be shadowed by the `var mockTagName` declaration in the `render` method, so only `module.mockTagName` or `"div"` were ever possible values.
Changed paths1 file
First-parent comparisonsrc/test/ReactTestUtils.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…