mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Fixing typo on test (#11495)
- As ironicaly as it sounds the tests was checking for misspelling
This commit is contained in:
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() {
|
||||
|
||||
Reference in New Issue
Block a user