Mocking an angular service exported by an angular library with jest: completely mocking the imported module?

前端 未结 0 1039
青春惊慌失措
青春惊慌失措 2021-01-30 05:31

I\'m trying to write a unit test for a guard which has an \'AuthenticationService\' dependency. I\'d like to mock the authenticate method of this service. The s

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