The tick function is provided by the ______ testing utility to simulate the passage of time in tests.

  • ComponentFixture
  • TestBed
  • fakeAsync
  • tick
The fakeAsync testing utility in Angular provides the tick function. It allows you to simulate the passage of time in a test, particularly useful for testing asynchronous operations like timers and HTTP requests.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *