This commit is contained in:
afc163 2017-04-30 18:47:15 +08:00
parent 6caa92057b
commit 224c46ded9

View File

@ -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;
}