πŸ“Š Angular
Q. What does Angular use to control asynchronous operations in tests?
  • (A) fakeAsync and tick
  • (B) setTimeout
  • (C) Promise.resolve
  • (D) subscribe
πŸ’¬ Discuss
βœ… Correct Answer: (A) fakeAsync and tick

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

Explanation by: Mr. Dubey
fakeAsync and tick help simulate the passage of time in async operations.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
47
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate