From 3412605e20a019f2fbd3d41b5e6ece3092f2304b Mon Sep 17 00:00:00 2001 From: Manuel Rauber Date: Tue, 5 Dec 2023 17:07:20 +0100 Subject: [PATCH] refactor: remove test file --- .../components/root/root.component.spec.ts | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 src/app/components/root/root.component.spec.ts diff --git a/src/app/components/root/root.component.spec.ts b/src/app/components/root/root.component.spec.ts deleted file mode 100644 index 9c62dc2..0000000 --- a/src/app/components/root/root.component.spec.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { TestBed } from '@angular/core/testing'; -import { RootComponent } from './root.component'; - -describe('AppComponent', () => { - beforeEach(async () => { - await TestBed.configureTestingModule({ - imports: [RootComponent], - }).compileComponents(); - }); - - it('should create the app', () => { - const fixture = TestBed.createComponent(RootComponent); - const app = fixture.componentInstance; - expect(app).toBeTruthy(); - }); - - it(`should have the 'tipis-pap-tools' title`, () => { - const fixture = TestBed.createComponent(RootComponent); - const app = fixture.componentInstance; - expect(app.title).toEqual('tipis-pap-tools'); - }); - - it('should render title', () => { - const fixture = TestBed.createComponent(RootComponent); - fixture.detectChanges(); - const compiled = fixture.nativeElement as HTMLElement; - expect(compiled.querySelector('h1')?.textContent).toContain('Hello, tipis-pap-tools'); - }); -});