From fb148ff5349b5212da34ad921dfae321cc05d77c Mon Sep 17 00:00:00 2001 From: Piotr Pekala Date: Fri, 4 Oct 2019 00:34:40 -0700 Subject: [PATCH] Update project-map-menu.component.spec.ts --- .../project-map-menu/project-map-menu.component.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/components/project-map/project-map-menu/project-map-menu.component.spec.ts b/src/app/components/project-map/project-map-menu/project-map-menu.component.spec.ts index da54d891..4885aaff 100644 --- a/src/app/components/project-map/project-map-menu/project-map-menu.component.spec.ts +++ b/src/app/components/project-map/project-map-menu/project-map-menu.component.spec.ts @@ -12,6 +12,7 @@ import { ANGULAR_MAP_DECLARATIONS } from '../../../cartography/angular-map.impor import { NO_ERRORS_SCHEMA } from '@angular/core'; import { SymbolService } from '../../../services/symbol.service'; import { MockedSymbolService } from '../../preferences/common/symbols/symbols.component.spec'; +import { ElectronService } from 'ngx-electron'; describe('ProjectMapMenuComponent', () => { let component: ProjectMapMenuComponent; @@ -27,7 +28,8 @@ describe('ProjectMapMenuComponent', () => { { provide: DrawingService, useValue: drawingService }, { provide: ToolsService }, { provide: MapSettingsService, useValue: mapSettingService }, - { provide: SymbolService, useValue: mockedSymbolService} + { provide: SymbolService, useValue: mockedSymbolService}, + { provide: ElectronService } ], declarations: [ProjectMapMenuComponent, D3MapComponent, ...ANGULAR_MAP_DECLARATIONS], schemas: [NO_ERRORS_SCHEMA]