diff --git a/components/upload/__tests__/upload.test.js b/components/upload/__tests__/upload.test.js index 4e058bfbe4..6b381d1432 100644 --- a/components/upload/__tests__/upload.test.js +++ b/components/upload/__tests__/upload.test.js @@ -7,7 +7,7 @@ describe('Upload', () => { // https://github.com/react-component/upload/issues/36 it('should get refs inside Upload in componentDidMount', () => { let ref; - class App extends React.Comoponent { + class App extends React.Component { componentDidMount() { ref = this.refs.input; }