Fixing typo on test (#11495)
- As ironicaly as it sounds the tests was checking for misspelling
Mitermayer Reis committed
Nov 8, 2017 at 13:23 UTC
e88f292041378aef473cc0c39b293efb89933558
1 file changed
+2
-2
packages/react/src/__tests__/createReactClassIntegration-test.js
+2
-2
@@ -105,7 +105,7 @@ describe('create-react-class-integration', () => {
105
);
106
});
107
108
- it('should warn when mispelling shouldComponentUpdate', () => {
108
+ it('should warn when misspelling shouldComponentUpdate', () => {
109
spyOn(console, 'error');
110
111
createReactClass({
@@ -140,7 +140,7 @@ describe('create-react-class-integration', () => {
140
);
141
});
142
143
- it('should warn when mispelling componentWillReceiveProps', () => {
143
+ it('should warn when misspelling componentWillReceiveProps', () => {
144
spyOn(console, 'error');
145
createReactClass({
146
componentWillRecieveProps: function() {