import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing'; import { SharedModule } from '../../../../shared.module'; import { LoopStatusComponent } from './loop-status.component'; describe('LoopStatusComponent', () => { let component: LoopStatusComponent; let fixture: ComponentFixture; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [LoopStatusComponent], imports: [SharedModule] }). compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(LoopStatusComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); afterEach(() => { TestBed.resetTestingModule(); }); });