Get test coverage for 'throw Error' in Jest

后端 未结 0 853
無奈伤痛
無奈伤痛 2021-01-18 04:50

I am running into an issue where I am mocking fetching an endpoint and keep running into the throw Error not getting coverage. The test passes but how do I resolve coverage

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