Question · Angular course · Module 11: Testing
fakeAsync
What does the tick(1000) function do inside fakeAsync?
Answer options
- Waits 1 second in real time
- Simulates the passage of 1000ms of virtual time
- Runs 1000 loop iterations
- Limits the test duration to 1s
You can check the correct answer by solving this task in the CodeWorlds game.