diff --git a/src/ui/public/promises/promises.js b/src/ui/public/promises/promises.js index ad77030c7c371..694f2341d898a 100644 --- a/src/ui/public/promises/promises.js +++ b/src/ui/public/promises/promises.js @@ -64,7 +64,7 @@ module.service('Promise', function ($q, $timeout) { return obj && typeof obj.then === 'function'; }; Promise.halt = _.once(function () { - const promise = new Promise(); + const promise = new Promise(() => {}); promise.then = _.constant(promise); promise.catch = _.constant(promise); return promise;