Skip to content

Commit

Permalink
fix warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
rainer oviir authored and rainer oviir committed Mar 5, 2016
1 parent c8fbede commit 29f8ff4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ describe('ReactCompositeComponent', function() {
expect(instance.state.value).toBe(1);
expect(console.error.calls.length).toBe(1);
expect(console.error.argsForCall[0][0]).toBe(
'Warning: setState(...): Cannot call setState inside getChildContext()'
'Warning: setState(...): Cannot call setState() inside getChildContext()'
);
});

Expand Down

0 comments on commit 29f8ff4

Please sign in to comment.