Getting Cannot read property 'on' of underfied in Unit Testing in Angular using Karma Jasmine

后端 未结 0 1377
别那么骄傲
别那么骄傲 2020-12-15 15:44

In my component.ts file, I have a service named \'socketService\' where I\'m using socket and in component, I have the line

this.socket = this.socketService.g         


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