removed unused code from the compile method on focus front unit tests
This commit is contained in:
parent
03116ed595
commit
4a2418eb7c
|
@ -12,8 +12,6 @@ describe('Directive focus', () => {
|
||||||
$scope = $rootScope.$new();
|
$scope = $rootScope.$new();
|
||||||
$element = angular.element(_element);
|
$element = angular.element(_element);
|
||||||
if (_childElement) {
|
if (_childElement) {
|
||||||
let childElement = angular.element(_childElement);
|
|
||||||
$element[0] < childElement;
|
|
||||||
$element[0].firstChild.focus = jasmine.createSpy(focus);
|
$element[0].firstChild.focus = jasmine.createSpy(focus);
|
||||||
}
|
}
|
||||||
$element[0].focus = jasmine.createSpy('focus');
|
$element[0].focus = jasmine.createSpy('focus');
|
||||||
|
|
Loading…
Reference in New Issue