mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2025-05-14 10:49:19 +00:00
* BETTERZON-83: Making pre-generated unit tests work * BETTERZON-83: Writing unit tests for angular to improve code coverage
26 lines
681 B
TypeScript
26 lines
681 B
TypeScript
import {ComponentFixture, TestBed} from '@angular/core/testing';
|
|
|
|
import {ImprintComponent} from './imprint.component';
|
|
|
|
describe('ImprintComponent', () => {
|
|
let component: ImprintComponent;
|
|
let fixture: ComponentFixture<ImprintComponent>;
|
|
|
|
beforeEach(async () => {
|
|
await TestBed.configureTestingModule({
|
|
declarations: [ImprintComponent]
|
|
})
|
|
.compileComponents();
|
|
});
|
|
|
|
beforeEach(() => {
|
|
fixture = TestBed.createComponent(ImprintComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|