blob: f2078132a9dab8405c192a6907af4639f842e773 [file] [log] [blame]
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { TestingModule } from '../../../testing/testing.module';
import { WorkflowDetailComponent } from './workflow-detail.component';
import { WorkflowService } from '../shared/workflow.service';
describe('WorkflowDetailComponent', () => {
let component: WorkflowDetailComponent;
let fixture: ComponentFixture<WorkflowDetailComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [TestingModule],
providers: [WorkflowService],
declarations: [WorkflowDetailComponent],
schemas: [
/* avoid importing modules */
NO_ERRORS_SCHEMA,
],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(WorkflowDetailComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should be created', () => {
expect(component).toBeTruthy();
});
});