From 717f24feb43cb71538a7c07e4aa013c916640006 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 22 Jul 2013 13:59:21 -0700 Subject: chore(dump): remove dead code This code is not being used any more and the test is now failing due to Karma changes. Karma used to expose window.dump but that changed recently and that's why our build is now failing. I'm removing the code and test, but we still need to figure out how to route window.dump through angular.mock.dump, but that will have to be a separate commit. --- test/ngMock/angular-mocksSpec.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'test') diff --git a/test/ngMock/angular-mocksSpec.js b/test/ngMock/angular-mocksSpec.js index 3f82ac57..4e17dfb2 100644 --- a/test/ngMock/angular-mocksSpec.js +++ b/test/ngMock/angular-mocksSpec.js @@ -377,11 +377,6 @@ describe('ngMock', function() { expect(d($rootScope)).toMatch(/Scope\(.*\): \{/); expect(d($rootScope)).toMatch(/{"abc":"123"}/); })); - - - it('should be published on window', function(){ - expect(window.dump instanceof Function).toBe(true); - }); }); -- cgit v1.2.3