From 90b7e06845cdbd52edf1416b051fcd9623317c77 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Fri, 13 Feb 2026 20:30:32 -0600 Subject: [PATCH] remove spec files --- src/app/app.spec.ts | 23 ----------------------- src/app/config/config.component.spec.ts | 22 ---------------------- src/app/module/module.component.spec.ts | 22 ---------------------- src/app/route/route.component.spec.ts | 22 ---------------------- 4 files changed, 89 deletions(-) delete mode 100644 src/app/app.spec.ts delete mode 100644 src/app/config/config.component.spec.ts delete mode 100644 src/app/module/module.component.spec.ts delete mode 100644 src/app/route/route.component.spec.ts diff --git a/src/app/app.spec.ts b/src/app/app.spec.ts deleted file mode 100644 index b71eea2..0000000 --- a/src/app/app.spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { TestBed } from '@angular/core/testing'; -import { App } from './app'; - -describe('App', () => { - beforeEach(async () => { - await TestBed.configureTestingModule({ - imports: [App], - }).compileComponents(); - }); - - it('should create the app', () => { - const fixture = TestBed.createComponent(App); - const app = fixture.componentInstance; - expect(app).toBeTruthy(); - }); - - it('should render title', async () => { - const fixture = TestBed.createComponent(App); - await fixture.whenStable(); - const compiled = fixture.nativeElement as HTMLElement; - expect(compiled.querySelector('h1')?.textContent).toContain('Hello, webui'); - }); -}); diff --git a/src/app/config/config.component.spec.ts b/src/app/config/config.component.spec.ts deleted file mode 100644 index 458b9f7..0000000 --- a/src/app/config/config.component.spec.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; - -import { ConfigComponent } from './config.component'; - -describe('ConfigComponent', () => { - let component: ConfigComponent; - let fixture: ComponentFixture; - - beforeEach(async () => { - await TestBed.configureTestingModule({ - imports: [ConfigComponent], - }).compileComponents(); - - fixture = TestBed.createComponent(ConfigComponent); - component = fixture.componentInstance; - await fixture.whenStable(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/src/app/module/module.component.spec.ts b/src/app/module/module.component.spec.ts deleted file mode 100644 index 9881c8d..0000000 --- a/src/app/module/module.component.spec.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; - -import { ModuleComponent } from './module.component'; - -describe('ModuleComponent', () => { - let component: ModuleComponent; - let fixture: ComponentFixture; - - beforeEach(async () => { - await TestBed.configureTestingModule({ - imports: [ModuleComponent], - }).compileComponents(); - - fixture = TestBed.createComponent(ModuleComponent); - component = fixture.componentInstance; - await fixture.whenStable(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/src/app/route/route.component.spec.ts b/src/app/route/route.component.spec.ts deleted file mode 100644 index e495214..0000000 --- a/src/app/route/route.component.spec.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; - -import { RouteComponent } from './route.component'; - -describe('RouteComponent', () => { - let component: RouteComponent; - let fixture: ComponentFixture; - - beforeEach(async () => { - await TestBed.configureTestingModule({ - imports: [RouteComponent], - }).compileComponents(); - - fixture = TestBed.createComponent(RouteComponent); - component = fixture.componentInstance; - await fixture.whenStable(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -});