build(docs-infra): update project structure to cli@9 2/12 (fixture.debugElement.componentInstance
) (#36015)
`fixture.debugElement.componentInstance` --> `fixture.componentInstance` PR Close #36015
This commit is contained in:

committed by
Andrew Kushnir

parent
5fccb46f6f
commit
a8e936791b
@ -16,13 +16,13 @@ describe('AppComponent', () => {
|
||||
|
||||
it('should create the app', () => {
|
||||
const fixture = TestBed.createComponent(AppComponent);
|
||||
const app = fixture.debugElement.componentInstance;
|
||||
const app = fixture.componentInstance;
|
||||
expect(app).toBeTruthy();
|
||||
});
|
||||
|
||||
it(`should have as title 'cli-hello-world-lazy-rollup'`, () => {
|
||||
const fixture = TestBed.createComponent(AppComponent);
|
||||
const app = fixture.debugElement.componentInstance;
|
||||
const app = fixture.componentInstance;
|
||||
expect(app.title).toEqual('cli-hello-world-lazy-rollup');
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user