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

后端 未结 0 621
逝去的感伤
逝去的感伤 2021-02-11 17:44

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.

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