diff --git a/ui/src/app/home/member-info/member-info-edit.component.spec.ts b/ui/src/app/home/member-info/member-info-edit.component.spec.ts index 447862b83..aa8bed363 100644 --- a/ui/src/app/home/member-info/member-info-edit.component.spec.ts +++ b/ui/src/app/home/member-info/member-info-edit.component.spec.ts @@ -1,21 +1,23 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed } from '@angular/core/testing' -import { MemberInfoEditComponent } from './member-info-edit.component'; +import { MemberInfoEditComponent } from './member-info-edit.component' +import { AppModule } from 'src/app/app.module' describe('MemberInfoEditComponent', () => { - let component: MemberInfoEditComponent; - let fixture: ComponentFixture; + let component: MemberInfoEditComponent + let fixture: ComponentFixture beforeEach(() => { TestBed.configureTestingModule({ - declarations: [MemberInfoEditComponent] - }); - fixture = TestBed.createComponent(MemberInfoEditComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); + imports: [AppModule], + declarations: [MemberInfoEditComponent], + }) + fixture = TestBed.createComponent(MemberInfoEditComponent) + component = fixture.componentInstance + fixture.detectChanges() + }) it('should create', () => { - expect(component).toBeTruthy(); - }); -}); + expect(component).toBeTruthy() + }) +})