diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2025-02-26 22:50:01 -0500 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2025-02-26 22:50:01 -0500 |
commit | 897a4d53505d23c8b1f96c14b0a8984932fae699 (patch) | |
tree | 664090526d6f6674daadf4246651f7e3c58efa60 /ufund-ui/src/app/app.component.spec.ts | |
parent | 501ac045d6042f194e2a5dbc4d7f4abccaf2732b (diff) | |
download | JellySolutions-897a4d53505d23c8b1f96c14b0a8984932fae699.tar.gz JellySolutions-897a4d53505d23c8b1f96c14b0a8984932fae699.tar.bz2 JellySolutions-897a4d53505d23c8b1f96c14b0a8984932fae699.zip |
Clean up project and start implementation of user sign in system
Diffstat (limited to 'ufund-ui/src/app/app.component.spec.ts')
-rw-r--r-- | ufund-ui/src/app/app.component.spec.ts | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/ufund-ui/src/app/app.component.spec.ts b/ufund-ui/src/app/app.component.spec.ts deleted file mode 100644 index f1f78e9..0000000 --- a/ufund-ui/src/app/app.component.spec.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { TestBed } from '@angular/core/testing'; -import { RouterModule } from '@angular/router'; -import { AppComponent } from './app.component'; - -describe('AppComponent', () => { - beforeEach(async () => { - await TestBed.configureTestingModule({ - imports: [ - RouterModule.forRoot([]) - ], - declarations: [ - AppComponent - ], - }).compileComponents(); - }); - - it('should create the app', () => { - const fixture = TestBed.createComponent(AppComponent); - const app = fixture.componentInstance; - expect(app).toBeTruthy(); - }); - - it(`should have as title 'ufund-ui'`, () => { - const fixture = TestBed.createComponent(AppComponent); - const app = fixture.componentInstance; - expect(app.title).toEqual('ufund-ui'); - }); - - it('should render title', () => { - const fixture = TestBed.createComponent(AppComponent); - fixture.detectChanges(); - const compiled = fixture.nativeElement as HTMLElement; - expect(compiled.querySelector('h1')?.textContent).toContain('Hello, ufund-ui'); - }); -}); |