how to create spy in ts-mockito?

后端 未结 0 1766
有刺的猬
有刺的猬 2020-11-29 19:27

Using jasmin, I can create a spy using the code below:

let mockedRouter = {navigate: jasmine.createSpy(\'navigate\')};

This can then be teste

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