Darwin hat entschieden, nur der produktive Code überlebt

This commit is contained in:
2025-10-25 23:45:41 +02:00
parent 1a5899e2bc
commit 17211377ea
4 changed files with 0 additions and 98 deletions

View File

@@ -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');
});
});

View File

@@ -1,23 +0,0 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { HomeComponent } from './home-component';
describe('HomeComponent', () => {
let component: HomeComponent;
let fixture: ComponentFixture<HomeComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [HomeComponent]
})
.compileComponents();
fixture = TestBed.createComponent(HomeComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@@ -1,23 +0,0 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { MainPage } from './main-page';
describe('MainPage', () => {
let component: MainPage;
let fixture: ComponentFixture<MainPage>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [MainPage]
})
.compileComponents();
fixture = TestBed.createComponent(MainPage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@@ -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<PocModelComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [PocModelComponent]
})
.compileComponents();
fixture = TestBed.createComponent(PocModelComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});