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(); - }); -});