Angular 2 fakeAsync waiting for timeout in a function using tick()?

后端 未结 0 492
渐次进展
渐次进展 2021-02-11 18:14

I\'m trying to get the results from a mock backend in Angular 2 for unit testing. Currently, we are using fakeAsync with a timeout to simulate the passing of time.

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