How to capture console errors in angular unit test when component is loaded?

后端 未结 0 1196
情深已故
情深已故 2020-12-09 15:21

I want to test in the user.component.spec.ts, if there are any console errors when the page/form is loaded. For example, if when the form is loaded, we have the error - \'ne

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