unit test a function with router navigateByUrl using karma jasmine

前端 未结 0 353
孤城傲影
孤城傲影 2020-12-01 19:07

I am trying to unit test the following function which has router navigateByUrl , but couldnt execute .then block

.ts code:

back(){ 

          


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