dillon1000/react
Commit
Browse files Enable module.exports mocking in react-test.js.
We don't currently attempt to mock modules automatically, but we do
respect require("mock-modules").mock, .dontMock, and .dumpCache.
I'm going to keep investigating auto-mocking, since that would move us
much closer to the behavior used within Facebook.
Closes #154.
Closes #155.Changed paths1 file
First-parent comparisonsrc/test/mock-modules.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…