You can try putting $rootScope.$apply()
in an afterEach()
callback function. Promises resolve on $apply()
in Angular.
afterEach(function(){
rootScope.$apply();
});
You can try putting $rootScope.$apply()
in an afterEach()
callback function. Promises resolve on $apply()
in Angular.
afterEach(function(){
rootScope.$apply();
});