dillon1000/react

Commit

Fix failing tests

Two of your tests were failing because of commit
1e71df5399e4c94511e587fa368e7c57a537dc91
I fixed them by:
1) Using jasmine's spyOn in ReactCompositeComponentError-test.js
2) Inverting the function wrapping in the above commit.
Godspeed.
Browse files
Changed paths2 files
First-parent comparison
M src/core/ReactCompositeComponent.js ModifiedM src/core/__tests__/ReactCompositeComponentError-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…