Angular Jasmine this service method is a not a function

前端 未结 0 411
说谎
说谎 2021-01-14 07:24

I am trying to get a service method to pass inside a unit test, however it keeps failing:

"TypeError: this.eventsService.getEvent is not a function"

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