fix(docs-infra): update app code to work with Ivy (#28530)

This commit also enables more tests to be run on CI with Ivy.

PR Close #28530
This commit is contained in:
George Kalpakas
2019-05-01 02:24:13 +03:00
committed by Kara Erickson
parent 066ec33342
commit b70d20b510
8 changed files with 160 additions and 144 deletions
@@ -23,10 +23,10 @@ describe('CodeExampleComponent', () => {
});
fixture = TestBed.createComponent(HostComponent);
fixture.detectChanges();
hostComponent = fixture.componentInstance;
codeExampleComponent = hostComponent.codeExampleComponent;
fixture.detectChanges();
});
it('should be able to capture the code snippet provided in content', () => {
@@ -23,10 +23,10 @@ describe('CodeTabsComponent', () => {
});
fixture = TestBed.createComponent(HostComponent);
fixture.detectChanges();
hostComponent = fixture.componentInstance;
codeTabsComponent = hostComponent.codeTabsComponent;
fixture.detectChanges();
});
it('should get correct tab info', () => {