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