angular.js/test
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
..
auto feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
helpers chore: reorganize test helper files under test/helpers 2013-08-23 15:46:11 -07:00
ng feat(mocks): make $timeout#flush throw an exception when empty 2013-08-25 14:46:54 -07:00
ngAnimate test(docs): disable brittle tests that need to be rewritten 2013-08-25 14:46:54 -07:00
ngCookies feat($cookieStore): $cookieStore.get now parses blank string as blank string 2013-05-08 10:04:07 +01:00
ngMock feat(mocks): make $timeout#flush throw an exception when empty 2013-08-25 14:46:54 -07:00
ngResource test: rename / remove duplicate unit tests 2013-08-23 12:43:42 -07:00
ngRoute feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
ngSanitize fix(sanitize): match URI schemes case-insensitively 2013-07-12 09:29:21 +01:00
ngScenario feat(scenario): expose jQuery for usage outside of angular scenario 2013-07-31 15:50:12 -07:00
ngTouch chore(ngMobile): rename module ngTouch and file to angular-touch.js 2013-08-09 11:54:35 -07:00
AngularSpec.js test: rename / remove duplicate unit tests 2013-08-23 12:43:42 -07:00
ApiSpecs.js feat(ngRepeat): add support for custom tracking of items 2013-03-29 23:01:52 -07:00
BinderSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
jqLiteSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
jquery_alias.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jquery_remove.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jQueryPatchSpec.js feat(jqLite): switch bind/unbind to more recent jQuery on/off 2013-06-19 20:53:24 +01:00
loaderSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
minErrSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00