X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=portal-FE-os%2Fsrc%2Fapp%2Fapp.component.spec.ts;h=cd96a77d67d1b62dfeb5fe1fb7dda28c67baf2ff;hb=4c6f6a443cb2e6effa995e77d56689c1c2dab4ad;hp=afc476fded4e78dfb5fe35c536116f9400278310;hpb=a03dfa273ef6e196bf65acc54b9357d35eb0ed5e;p=portal.git diff --git a/portal-FE-os/src/app/app.component.spec.ts b/portal-FE-os/src/app/app.component.spec.ts index afc476fd..cd96a77d 100644 --- a/portal-FE-os/src/app/app.component.spec.ts +++ b/portal-FE-os/src/app/app.component.spec.ts @@ -34,7 +34,7 @@ * ============LICENSE_END============================================ * * - */s + */ import { TestBed, async } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AppComponent } from './app.component'; @@ -56,17 +56,4 @@ describe('AppComponent', () => { const app = fixture.debugElement.componentInstance; expect(app).toBeTruthy(); }); - - it(`should have as title 'portal-FE-os'`, () => { - const fixture = TestBed.createComponent(AppComponent); - const app = fixture.debugElement.componentInstance; - expect(app.title).toEqual('portal-FE-os'); - }); - - it('should render title in a h1 tag', () => { - const fixture = TestBed.createComponent(AppComponent); - fixture.detectChanges(); - const compiled = fixture.debugElement.nativeElement; - expect(compiled.querySelector('h1').textContent).toContain('Welcome to portal-FE-os!'); - }); });