In Jasmine, to ensure that an asynchronous operation has completed before continuing the test, you can use the _____ function.
- afterEach()
- spyOnAsync()
- tick()
- waitForAsync()
In Jasmine, to ensure that an asynchronous operation has completed before continuing the test, you can use the tick() function.
Loading...
Related Quiz
- What is the main difference between hot and cold observables in Angular?
- When handling form submission in Angular, preventing the default form submission behavior is done using the _______ method on the event object.
- What does the async pipe do in an Angular template?
- The _____ operator is used to catch and handle errors within an Observable sequence.
- When using Dependency Injection in Angular, what is the significance of the @Injectable() decorator?