Ensure MDL search control input gets activated

Refs #1294
This commit is contained in:
Will Abson
2016-12-16 14:33:05 +00:00
parent b60ad98b34
commit 5c2145dcf8
2 changed files with 4 additions and 1 deletions

View File

@@ -35,8 +35,11 @@ describe('AlfrescoSearchControlComponent', () => {
let fixture: ComponentFixture<AlfrescoSearchControlComponent>;
let component: AlfrescoSearchControlComponent, element: HTMLElement;
let componentHandler;
beforeEach(async(() => {
componentHandler = jasmine.createSpyObj('componentHandler', ['upgradeAllRegistered', 'upgradeElement']);
window['componentHandler'] = componentHandler;
TestBed.configureTestingModule({
imports: [
CoreModule