test(ivy): fix flaky tests (#23010)

PR Close #23010
This commit is contained in:
Kara Erickson
2018-03-26 23:41:38 -07:00
committed by Matias Niemelä
parent 910a16a1ff
commit f739f756ce
2 changed files with 4 additions and 6 deletions

View File

@ -572,9 +572,6 @@ class ViewContainerRef implements viewEngine_ViewContainerRef {
createEmbeddedView<C>(
templateRef: viewEngine_TemplateRef<C>, context?: C|undefined,
index?: number|undefined): viewEngine_EmbeddedViewRef<C> {
// set current view to container node's view
enterView(this._node.view, null);
const viewRef = templateRef.createEmbeddedView(context !);
this.insert(viewRef, index);
return viewRef;