Skip to content

Commit

Permalink
Merge pull request #5376 from spicyj/gh-4993
Browse files Browse the repository at this point in the history
Test fixups after #4993
  • Loading branch information
sophiebits committed Nov 3, 2015
2 parents d288879 + c802e9e commit a4b5f2f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/test/__tests__/ReactTestUtils-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ describe('ReactTestUtils', function() {
});

it('should run all lifecycle methods', function() {
var componentWillMount = mocks.getMockFunction();
var componentDidMount = mocks.getMockFunction();
var componentWillReceiveProps = mocks.getMockFunction();
var shouldComponentUpdate = mocks.getMockFunction();
var componentWillUpdate = mocks.getMockFunction();
var componentDidUpdate = mocks.getMockFunction();
var componentWillUnmount = mocks.getMockFunction();
var componentWillMount = jest.genMockFn();
var componentDidMount = jest.genMockFn();
var componentWillReceiveProps = jest.genMockFn();
var shouldComponentUpdate = jest.genMockFn();
var componentWillUpdate = jest.genMockFn();
var componentDidUpdate = jest.genMockFn();
var componentWillUnmount = jest.genMockFn();

var SomeComponent = React.createClass({
render: function() {
Expand Down

0 comments on commit a4b5f2f

Please sign in to comment.