Skip to content

Commit

Permalink
fix(focus): import focus module in focus spec #3199
Browse files Browse the repository at this point in the history
  • Loading branch information
Tacho committed Dec 6, 2018
1 parent 1bcaa33 commit 2aa6a51
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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();
}));

Expand Down

0 comments on commit 2aa6a51

Please sign in to comment.