AuthGuard Error: Cannot call Promise.then from within a sync test

前端 未结 0 1612
日久生厌
日久生厌 2020-12-02 22:14

I have tried to test a guard component in Angular 10. The component has injected service which

An error message: "Error: Cannot call Promise.then from within a

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