dillon1000/react

Commit

Shallow render components that define contextTypes

You now no longer have to pass an undocumented extra argument to the
shallow renderer for rendering components with contextTypes to work.

Fixes #3696
Browse files
Changed paths2 files
First-parent comparison
M src/test/ReactTestUtils.js ModifiedM src/test/__tests__/ReactTestUtils-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…