How to use spy service class from component using SpyOn in Angular

后端 未结 0 835
感情败类
感情败类 2020-12-08 14:56

am working on the angular test cases and trying to spy a method. component.ts

getMainStatus(): void { 
   
    let health = this.cmnService.g         


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