From 669fcc0ddc2b5cccc6676c005805613329485874 Mon Sep 17 00:00:00 2001 From: Piotr Pekala Date: Thu, 10 Jan 2019 06:48:21 -0800 Subject: [PATCH] Fix for unit tests after changes in project map component --- src/app/components/project-map/project-map.component.spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/components/project-map/project-map.component.spec.ts b/src/app/components/project-map/project-map.component.spec.ts index e026dcdb..a1964261 100644 --- a/src/app/components/project-map/project-map.component.spec.ts +++ b/src/app/components/project-map/project-map.component.spec.ts @@ -31,6 +31,8 @@ import { of } from 'rxjs'; import { Server } from '../../models/server'; import { Node } from '../../cartography/models/node'; import { ToolsService } from '../../services/tools.service'; +import { DrawingsWidget } from '../../cartography/widgets/drawings'; +import { MapDrawingToDrawingConverter } from '../../cartography/converters/map/map-drawing-to-drawing-converter'; export class MockedProgressService { public activate() {} @@ -133,7 +135,9 @@ describe('ProjectMapComponent', () => { { provide: ProjectWebServiceHandler }, { provide: MapChangeDetectorRef }, { provide: NodeWidget }, + { provide: DrawingsWidget }, { provide: MapNodeToNodeConverter }, + { provide: MapDrawingToDrawingConverter }, { provide: NodesDataSource }, { provide: LinksDataSource }, { provide: DrawingsDataSource, useValue: drawingsDataSource},