A

Admin • 833K Points
Coach

Q. What does Angular use to control asynchronous operations in tests?

  • (A) fakeAsync and tick
  • (B) setTimeout
  • (C) Promise.resolve
  • (D) subscribe
  • Correct Answer - Option(A)
  • Views: 29
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

fakeAsync and tick help simulate the passage of time in async operations.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.