build(docs-infra): update project structure to cli@9 3/12 (title in a h1 tag) (#36015)

Make test description less implementation specific.

PR Close #36015
This commit is contained in:
George Kalpakas
2020-03-17 22:28:40 +02:00
committed by Andrew Kushnir
parent a8e936791b
commit fc325c49ec
21 changed files with 28 additions and 28 deletions

View File

@ -12,17 +12,17 @@ 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 'ng-update-migrations'`, () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
const app = fixture.componentInstance;
expect(app.title).toEqual('ng-update-migrations');
});
it('should render title in a h1 tag', () => {
it('should render title', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.debugElement.nativeElement;