mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fixing typo on test (#11495)
- As ironicaly as it sounds the tests was checking for misspelling
This commit is contained in:
1 parent
8a0285fb43
commit
e88f292041
1 file changed
+2
-2
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user