diff --git a/test/ngMock/angular-mocksSpec.js b/test/ngMock/angular-mocksSpec.js index 43c39772a9ea..9bfbcfc741a4 100644 --- a/test/ngMock/angular-mocksSpec.js +++ b/test/ngMock/angular-mocksSpec.js @@ -3123,10 +3123,6 @@ describe('sharedInjector', function() { define(); sdescribe.root.run(); } finally { - // avoid failing testability for the additional - // injectors etc created - angular.element.cache = {}; - // clear up module.$$beforeAllHook = null; module.$$afterAllHook = null;