|
@ -7,7 +7,7 @@ describe('Upload', () => { |
|
|
// https://github.com/react-component/upload/issues/36
|
|
|
// https://github.com/react-component/upload/issues/36
|
|
|
it('should get refs inside Upload in componentDidMount', () => { |
|
|
it('should get refs inside Upload in componentDidMount', () => { |
|
|
let ref; |
|
|
let ref; |
|
|
class App extends React.Comoponent { |
|
|
class App extends React.Component { |
|
|
componentDidMount() { |
|
|
componentDidMount() { |
|
|
ref = this.refs.input; |
|
|
ref = this.refs.input; |
|
|
} |
|
|
} |
|
|