From 4a2418eb7c361f3b080a6b3a61deac592cdd2239 Mon Sep 17 00:00:00 2001 From: Carlos Jimenez <=> Date: Thu, 1 Feb 2018 11:28:41 +0100 Subject: [PATCH] removed unused code from the compile method on focus front unit tests --- client/core/src/directives/specs/focus.spec.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/core/src/directives/specs/focus.spec.js b/client/core/src/directives/specs/focus.spec.js index f610e9ffb..4fe3fa0ff 100644 --- a/client/core/src/directives/specs/focus.spec.js +++ b/client/core/src/directives/specs/focus.spec.js @@ -12,8 +12,6 @@ describe('Directive focus', () => { $scope = $rootScope.$new(); $element = angular.element(_element); if (_childElement) { - let childElement = angular.element(_childElement); - $element[0] < childElement; $element[0].firstChild.focus = jasmine.createSpy(focus); } $element[0].focus = jasmine.createSpy('focus');