aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/qSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ng/qSpec.js')
-rw-r--r--test/ng/qSpec.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/ng/qSpec.js b/test/ng/qSpec.js
index 13c51f4b..7c949602 100644
--- a/test/ng/qSpec.js
+++ b/test/ng/qSpec.js
@@ -1468,15 +1468,6 @@ describe('q', function() {
it('should still reject the promise, when exception is thrown in success handler, even if exceptionHandler rethrows', function() {
- deferred.promise.then(function() { throw 'reject'; }).then(null, errorSpy);
- deferred.resolve('resolve');
- mockNextTick.flush();
- expect(exceptionExceptionSpy).toHaveBeenCalled();
- expect(errorSpy).toHaveBeenCalled();
- });
-
-
- it('should still reject the promise, when exception is thrown in success handler, even if exceptionHandler rethrows', function() {
deferred.promise.then(null, function() { throw 'reject again'; }).then(null, errorSpy);
deferred.reject('reject');
mockNextTick.flush();