src/app/statistics/diagrams/bpmn-viewer/bpmn-viewer.component.spec.ts
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { BpmnViewerComponent } from './bpmn-viewer.component';
import {CUSTOM_ELEMENTS_SCHEMA} from '@angular/core';
import {FileSharingService} from '../../../services/file-sharing/file-sharing.service';
import { RouterTestingModule } from '@angular/router/testing';
describe('BpmnViewerComponent', () => {
let component: BpmnViewerComponent;
let fixture: ComponentFixture<BpmnViewerComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [RouterTestingModule.withRoutes([])],
declarations: [ BpmnViewerComponent ],
providers: [FileSharingService],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(BpmnViewerComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});