Fixing typo on test (#11495)

- As ironicaly as it sounds the tests was checking for misspelling
This commit is contained in:
Mitermayer Reis
2017-11-08 21:23:46 +00:00
committed by Dan Abramov
parent 8c4ee30381
commit df867525ea
@@ -105,7 +105,7 @@ describe('create-react-class-integration', () => {
);
});
it('should warn when mispelling shouldComponentUpdate', () => {
it('should warn when misspelling shouldComponentUpdate', () => {
spyOn(console, 'error');
createReactClass({
@@ -140,7 +140,7 @@ describe('create-react-class-integration', () => {
);
});
it('should warn when mispelling componentWillReceiveProps', () => {
it('should warn when misspelling componentWillReceiveProps', () => {
spyOn(console, 'error');
createReactClass({
componentWillRecieveProps: function() {