mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2026-10-29 13:17:35 +00:00
BETTERZON-83: FE unit testing (#35)
* BETTERZON-83: Making pre-generated unit tests work * BETTERZON-83: Writing unit tests for angular to improve code coverage
This commit is contained in:
1 parent
a3ac897818
commit
e9d03b9cbb
25 files changed
+692
-21126
No files matched your search
@@ -1,25 +1,25 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import {ComponentFixture, TestBed} from '@angular/core/testing';
|
||||
|
||||
import { PageNotFoundPageComponent } from './page-not-found-page.component';
|
||||
import {PageNotFoundPageComponent} from './page-not-found-page.component';
|
||||
|
||||
describe('PageNotFoundPageComponent', () => {
|
||||
let component: PageNotFoundPageComponent;
|
||||
let fixture: ComponentFixture<PageNotFoundPageComponent>;
|
||||
let component: PageNotFoundPageComponent;
|
||||
let fixture: ComponentFixture<PageNotFoundPageComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ PageNotFoundPageComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
});
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [PageNotFoundPageComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(PageNotFoundPageComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(PageNotFoundPageComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user