From 2e976d013b6322f242795222af8267e3a167a403 Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Fri, 6 Mar 2020 00:18:56 +0000 Subject: [PATCH] remove duplicated test (#5536) --- .../check-allowable-operation.directive.spec.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/core/directives/check-allowable-operation.directive.spec.ts b/lib/core/directives/check-allowable-operation.directive.spec.ts index 56d0358ab2..7500d232a5 100644 --- a/lib/core/directives/check-allowable-operation.directive.spec.ts +++ b/lib/core/directives/check-allowable-operation.directive.spec.ts @@ -43,18 +43,6 @@ describe('CheckAllowableOperationDirective', () => { }); describe('HTML nativeElement as subject', () => { - - it('updates element once it is loaded', () => { - const directive = new CheckAllowableOperationDirective(null, null, null, changeDetectorMock); - spyOn(directive, 'updateElement').and.stub(); - - const nodes = [{}, {}]; - const change = new SimpleChange([], nodes, false); - directive.ngOnChanges({ nodes: change }); - - expect(directive.updateElement).toHaveBeenCalled(); - }); - it('updates element on nodes change', () => { const directive = new CheckAllowableOperationDirective(null, null, null, changeDetectorMock); spyOn(directive, 'updateElement').and.stub();