Angular 10: Karma Jasmine spied objects

后端 未结 0 818
旧时难觅i
旧时难觅i 2020-12-05 08:04

Is there any way that I can reset a spied object when the object is spied like so:

it(\'unit test\', () => {
    document.getElementById = jasmine.createSp         


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