How to resolve promises in AngularJS, Jasmine 2.0 when there is no $scope to force a digest? May 17, 2023 by Tarik You need to inject $rootScope in your test and trigger $digest on it.