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:

committed by
Andrew Kushnir

parent
a8e936791b
commit
fc325c49ec
@ -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;
|
||||
|
Reference in New Issue
Block a user