Ref returns undefined during shallow render Jest/Enzyme

后端 未结 0 1284
萌比男神i
萌比男神i 2021-02-18 18:59

I want to test input onchange event in component. I have such jsx:

    export default class Login extends Component {
  constructor(props) {
    super(props);
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题