import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { MyInformationComponent } from './my-information.component'; describe('MyInformationComponent', () => { let component: MyInformationComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [MyInformationComponent], teardown: { destroyAfterEach: false } }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(MyInformationComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });