How to do unit testing in angular2+ for method in this problem?

后端 未结 0 982
猫巷女王i
猫巷女王i 2021-02-18 13:01

In template driven form, I am trying to test onCancel method but getting error.

 onCancel(profileForm: any): any {
     profileForm.reset();   }

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