From 17211377ea1928aadf119728184e935335e1c315 Mon Sep 17 00:00:00 2001 From: Piet Ostendorp Date: Sat, 25 Oct 2025 23:45:41 +0200 Subject: [PATCH] =?UTF-8?q?Darwin=20hat=20entschieden,=20nur=20der=20produ?= =?UTF-8?q?ktive=20Code=20=C3=BCberlebt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/app.spec.ts | 29 ------------------- src/app/home-component/home-component.spec.ts | 23 --------------- src/app/main-page/main-page.spec.ts | 23 --------------- .../poc-model-component.spec.ts | 23 --------------- 4 files changed, 98 deletions(-) delete mode 100644 src/app/app.spec.ts delete mode 100644 src/app/home-component/home-component.spec.ts delete mode 100644 src/app/main-page/main-page.spec.ts delete mode 100644 src/app/poc-model-component/poc-model-component.spec.ts diff --git a/src/app/app.spec.ts b/src/app/app.spec.ts deleted file mode 100644 index 6794d8a..0000000 --- a/src/app/app.spec.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { TestBed } from '@angular/core/testing'; -import { RouterModule } from '@angular/router'; -import { App } from './app'; - -describe('App', () => { - beforeEach(async () => { - await TestBed.configureTestingModule({ - imports: [ - RouterModule.forRoot([]) - ], - declarations: [ - App - ], - }).compileComponents(); - }); - - it('should create the app', () => { - const fixture = TestBed.createComponent(App); - const app = fixture.componentInstance; - expect(app).toBeTruthy(); - }); - - it('should render title', () => { - const fixture = TestBed.createComponent(App); - fixture.detectChanges(); - const compiled = fixture.nativeElement as HTMLElement; - expect(compiled.querySelector('h1')?.textContent).toContain('Hello, infinifront'); - }); -}); diff --git a/src/app/home-component/home-component.spec.ts b/src/app/home-component/home-component.spec.ts deleted file mode 100644 index 8f02a2a..0000000 --- a/src/app/home-component/home-component.spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; - -import { HomeComponent } from './home-component'; - -describe('HomeComponent', () => { - let component: HomeComponent; - let fixture: ComponentFixture; - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [HomeComponent] - }) - .compileComponents(); - - fixture = TestBed.createComponent(HomeComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/src/app/main-page/main-page.spec.ts b/src/app/main-page/main-page.spec.ts deleted file mode 100644 index a80041c..0000000 --- a/src/app/main-page/main-page.spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; - -import { MainPage } from './main-page'; - -describe('MainPage', () => { - let component: MainPage; - let fixture: ComponentFixture; - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [MainPage] - }) - .compileComponents(); - - fixture = TestBed.createComponent(MainPage); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/src/app/poc-model-component/poc-model-component.spec.ts b/src/app/poc-model-component/poc-model-component.spec.ts deleted file mode 100644 index 2e84393..0000000 --- a/src/app/poc-model-component/poc-model-component.spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; - -import { PocModelComponent } from './poc-model-component'; - -describe('PocModelComponent', () => { - let component: PocModelComponent; - let fixture: ComponentFixture; - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [PocModelComponent] - }) - .compileComponents(); - - fixture = TestBed.createComponent(PocModelComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -});