committed by
Miško Hevery
parent
ef9e40e82b
commit
14f0e9ada8
@@ -18,6 +18,6 @@ export function verifyNoBrowserErrors() {
|
||||
}
|
||||
return logEntry.level.value > webdriver.logging.Level.WARNING.value;
|
||||
});
|
||||
expect(filteredLog.length).toEqual(0);
|
||||
expect(filteredLog).toEqual([]);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -254,8 +254,9 @@ export class TestComponentBuilder {
|
||||
DOM.appendChild(doc.body, rootEl);
|
||||
|
||||
|
||||
return this._injector.get(DynamicComponentLoader)
|
||||
.loadAsRoot(rootComponentType, `#${rootElId}`, this._injector)
|
||||
.then((componentRef) => { return new ComponentFixture_(componentRef); });
|
||||
var promise: Promise<ComponentRef> =
|
||||
this._injector.get(DynamicComponentLoader)
|
||||
.loadAsRoot(rootComponentType, `#${rootElId}`, this._injector);
|
||||
return promise.then((componentRef) => { return new ComponentFixture_(componentRef); });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user