mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-31 08:25:35 +00:00
Update log-console.component.spec.ts
This commit is contained in:
parent
6be70591c9
commit
cfef46e25c
@ -9,6 +9,7 @@ import { NodeService } from '../../../services/node.service';
|
||||
import { MockedNodeService, MockedNodesDataSource } from '../project-map.component.spec';
|
||||
import { NodesDataSource } from '../../../cartography/datasources/nodes-datasource';
|
||||
import { of } from 'rxjs';
|
||||
import { LogEventsDataSource } from './log-events-datasource';
|
||||
|
||||
export class MockedProjectWebServiceHandler {
|
||||
public nodeNotificationEmitter = new EventEmitter<WebServiceMessage>();
|
||||
@ -30,7 +31,8 @@ describe('LogConsoleComponent', () => {
|
||||
providers: [
|
||||
{ provide: ProjectWebServiceHandler, useValue: mockedProjectWebServiceHandler },
|
||||
{ provide: NodeService, useValue: mockedNodeService },
|
||||
{ provide: NodesDataSource, useValue: mockedNodesDataSource }
|
||||
{ provide: NodesDataSource, useValue: mockedNodesDataSource },
|
||||
{ provide: LogEventsDataSource, useClass: LogEventsDataSource }
|
||||
],
|
||||
declarations: [LogConsoleComponent],
|
||||
schemas: [NO_ERRORS_SCHEMA]
|
||||
|
Loading…
x
Reference in New Issue
Block a user