aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/intervalSpec.js
AgeCommit message (Collapse)Author
2014-02-22style(tests): remove trailing comma in specsChia-liang Kao
Closes #6241
2013-10-07feat($interval): add a service wrapping setIntervalJulie
The $interval service simplifies creating and testing recurring tasks. This service does not increment $browser's outstanding request count, which means that scenario tests and Protractor tests will not timeout when a site uses a polling function registered by $interval. Provides a workaround for #2402. For unit tests, repeated tasks can be controlled using ngMock$interval's tick(), tickNext(), and tickAll() functions.