From 43375be493416dc31c42973e9e5505661ccc1919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tarik=20Dedi=C4=87?= Date: Sun, 25 Aug 2024 13:59:02 +0200 Subject: [PATCH] Updating spec tests for app component --- src/app/app.component.spec.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index 880f795..c9cd4f2 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -19,17 +19,4 @@ describe('AppComponent', () => { const app = fixture.componentInstance; expect(app).toBeTruthy(); }); - - it(`should have as title 'smetovi'`, () => { - const fixture = TestBed.createComponent(AppComponent); - const app = fixture.componentInstance; - expect(app.title).toEqual('smetovi'); - }); - - it('should render title', () => { - const fixture = TestBed.createComponent(AppComponent); - fixture.detectChanges(); - const compiled = fixture.nativeElement as HTMLElement; - expect(compiled.querySelector('.content span')?.textContent).toContain('smetovi app is running!'); - }); });