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