Unable to mock JSON for isolated unit test in Jasmine Angular component

后端 未结 0 702
心在旅途
心在旅途 2021-01-20 16:46

I am trying to unit test this component. I can mock all, apart from the createXmlHttp request.

If I do not return a value here the code bails out at

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