Created
July 10, 2017 08:27
-
-
Save Holovin/b2473615dc53b0861409c2ed25c6dd45 to your computer and use it in GitHub Desktop.
Jasmine test: wait angular timeout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // flush timeout(s) for all code under test. | |
| $timeout.flush(); | |
| // this will throw an exception if there are any pending timeouts. | |
| $timeout.verifyNoPendingTasks(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment