From 2b5ce84fca7b41fca24707e163ec6af84bc12e83 Mon Sep 17 00:00:00 2001 From: Julie Date: Fri, 13 Sep 2013 12:47:05 -0700 Subject: feat($interval): add a service wrapping setInterval 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. --- angularFiles.js | 1 + 1 file changed, 1 insertion(+) (limited to 'angularFiles.js') diff --git a/angularFiles.js b/angularFiles.js index cd23aca0..946cff45 100755 --- a/angularFiles.js +++ b/angularFiles.js @@ -20,6 +20,7 @@ angularFiles = { 'src/ng/http.js', 'src/ng/httpBackend.js', 'src/ng/interpolate.js', + 'src/ng/interval.js', 'src/ng/locale.js', 'src/ng/location.js', 'src/ng/log.js', -- cgit v1.2.3