Issue with mocking service in jasmine test cases

后端 未结 0 1847
隐瞒了意图╮
隐瞒了意图╮ 2020-12-01 02:13

I created a mock of existing service simply by extending it as below

class mockData extends DataService {
  markCompleted() {
    return (\'completed\');
  }
         


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