From 2aa6a51dad9228b8e1a7a9f2b5f77d4d91639d46 Mon Sep 17 00:00:00 2001 From: Tacho Date: Thu, 6 Dec 2018 14:05:16 +0200 Subject: [PATCH] fix(focus): import focus module in focus spec #3199 --- .../src/lib/directives/focus/focus.directive.spec.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/projects/igniteui-angular/src/lib/directives/focus/focus.directive.spec.ts b/projects/igniteui-angular/src/lib/directives/focus/focus.directive.spec.ts index 06b993d3087..a852984cacb 100644 --- a/projects/igniteui-angular/src/lib/directives/focus/focus.directive.spec.ts +++ b/projects/igniteui-angular/src/lib/directives/focus/focus.directive.spec.ts @@ -6,7 +6,7 @@ import { tick } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; -import { IgxFocusDirective } from './focus.directive'; +import { IgxFocusDirective, IgxFocusModule } from './focus.directive'; import { configureTestSuite } from '../../test-utils/configure-suite'; import { EditorProvider } from '../../core/edit-provider'; @@ -19,13 +19,12 @@ describe('igxFocus', () => { beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ - IgxFocusDirective, SetFocusComponent, NoFocusComponent, TriggerFocusOnClickComponent, CheckboxPickerComponent ], - imports: [ IgxCheckboxModule, IgxDatePickerModule, NoopAnimationsModule ] + imports: [ IgxFocusModule, IgxCheckboxModule, IgxDatePickerModule, NoopAnimationsModule ] }).compileComponents(); }));