How do i write test case for API call on componentDidMount Using Jest enzyme

前端 未结 0 1716
轮回少年
轮回少年 2020-12-06 18:41

I want to write a test case for await API call on componentDidMount for success and error.

import {apiService} from \'./../../../_services\'

class MyCo         


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