angular.js/test/ng
Igor Minar cbf06a5d64 feat(mocks): make $timeout#flush throw an exception when empty
When calling $timeout.flush with or without a delay an exception should
be thrown if there is nothing to be flushed.

This prevents tests from flushing stuff unnecessarily.

BREAKING CHANGE: calling $timeout.flush(delay) when there is no task to be flushed
within the delay throws an exception now.

Please adjust the delay or remove the flush call from your tests as the exception
is a signed of a programming error.
2013-08-25 14:46:54 -07:00
..
directive revert(ngInclude): remove ngInclude manual transclusion system 2013-08-19 14:55:19 -07:00
filter fix(filter): filter on false properties 2013-08-15 15:50:34 -07:00
anchorScrollSpec.js fix($sniffer): report history false on Android < 4 2012-05-14 15:12:51 -07:00
animateSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
browserSpecs.js fix($browser): should use first value for a cookie. 2013-05-11 09:28:14 -07:00
cacheFactorySpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
compileSpec.js test: rename / remove duplicate unit tests 2013-08-23 12:43:42 -07:00
controllerSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
documentSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
exceptionHandlerSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
httpBackendSpec.js test: rename / remove duplicate unit tests 2013-08-23 12:43:42 -07:00
httpSpec.js fix(core): parse URLs using the browser's DOM API 2013-07-19 01:44:57 -07:00
interpolateSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
localeSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
locationSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
logSpec.js feat($log): add $log.debug() 2013-01-17 16:47:39 -08:00
parseSpec.js test: rename / remove duplicate unit tests 2013-08-23 12:43:42 -07:00
qSpec.js fix($q): reject should catch & forward exceptions thrown in errback 2013-08-24 12:49:46 -07:00
rootElementSpec.js feat($rootElement): added application root element 2012-06-02 14:50:58 -07:00
rootScopeSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
sceSpecs.js test: rename / remove duplicate unit tests 2013-08-23 12:43:42 -07:00
snifferSpec.js fix($sniffer): history problems on Boxee box 2013-08-23 11:57:55 -07:00
timeoutSpec.js feat(mocks): make $timeout#flush throw an exception when empty 2013-08-25 14:46:54 -07:00
urlUtilsSpec.js feat($sce): new $sce service for Strict Contextual Escaping. 2013-07-25 13:00:35 -07:00
windowSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00