testing subscribe in karma gives error Argument of type 'Observable<>' is not assignable to parameter of type 'Subscription'

后端 未结 0 1405
感情败类
感情败类 2020-12-04 19:29

I have this method

loadCombos(): void {
  this.combosService.accounts$.subscribe(
    (data: any) => {
    this.list = data;
      }
    }
  );
}


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