How to create dummy ExecutionContext for CanActivate function for unit testing?

后端 未结 0 1552
名媛妹妹
名媛妹妹 2021-01-19 13:49

I have authGuard service with canActivate function ```

canActivate(context: ExecutionContext): boolean | Promise | Observable

const ctx = GqlExecutionContext.crea

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