refactor(compiler): minor cleanup

This commit is contained in:
Tobias Bosch
2016-11-03 11:16:28 -07:00
committed by vikerman
parent 648ce5981b
commit e3687706c7
11 changed files with 34 additions and 22 deletions

View File

@ -100,7 +100,7 @@ export function main() {
const fixture = TestBed.createComponent(MyComp);
fixture.detectChanges();
destroyViewLogs.splice(0, destroyViewLogs.length);
destroyViewLogs.length = 0;
fixture.componentInstance.shown = false;
fixture.detectChanges();