React JS test case for componentWillMount(), testing asynchronously API call

前端 未结 0 1111
面向向阳花
面向向阳花 2021-02-13 02:49

I am trying to write a test case for the below code,

export default class App extends React.Component {
  constructor(props) {
    super(props);
    this.state =          


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