mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-22 00:13:36 +00:00
Fix for tests
This commit is contained in:
@ -41,6 +41,7 @@ import { MapDrawing } from '../../cartography/models/map/map-drawing';
|
||||
import { HttpServer } from '../../services/http-server.service';
|
||||
import { Server } from '../../models/server';
|
||||
import { ResizedDataEvent } from '../../cartography/events/event-source';
|
||||
import { MapLabelToLabelConverter } from '../../cartography/converters/map/map-label-to-label-converter';
|
||||
|
||||
export class MockedProgressService {
|
||||
public activate() {}
|
||||
@ -118,7 +119,8 @@ describe('ProjectMapComponent', () => {
|
||||
{ provide: MapDrawingToSvgConverter, useValue: {
|
||||
convert: () => { return ''}
|
||||
} },
|
||||
{ provide: SettingsService, useClass: MockedSettingsService }
|
||||
{ provide: SettingsService, useClass: MockedSettingsService },
|
||||
{ provide: MapLabelToLabelConverter}
|
||||
],
|
||||
declarations: [
|
||||
ProjectMapComponent,
|
||||
|
Reference in New Issue
Block a user