From 948c600e1a7f0ec8278f0d4dfca57cfc00eaed29 Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 16 May 2024 17:19:17 +0700 Subject: [PATCH] Fix tests. --- .../start-capture/start-capture.component.spec.ts | 3 +-- .../packet-capturing/start-capture/start-capture.component.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/components/project-map/packet-capturing/start-capture/start-capture.component.spec.ts b/src/app/components/project-map/packet-capturing/start-capture/start-capture.component.spec.ts index b3a01cba..3df6e7e9 100644 --- a/src/app/components/project-map/packet-capturing/start-capture/start-capture.component.spec.ts +++ b/src/app/components/project-map/packet-capturing/start-capture/start-capture.component.spec.ts @@ -57,9 +57,8 @@ describe('StartCaptureDialogComponent', () => { declarations: [StartCaptureDialogComponent], schemas: [NO_ERRORS_SCHEMA], }).compileComponents(); - protocolHandlerService = TestBed.inject(ProtocolHandlerService); - })); + }); beforeEach(() => { fixture = TestBed.createComponent(StartCaptureDialogComponent); diff --git a/src/app/components/project-map/packet-capturing/start-capture/start-capture.component.ts b/src/app/components/project-map/packet-capturing/start-capture/start-capture.component.ts index 9ef998e7..8bae038a 100644 --- a/src/app/components/project-map/packet-capturing/start-capture/start-capture.component.ts +++ b/src/app/components/project-map/packet-capturing/start-capture/start-capture.component.ts @@ -6,7 +6,7 @@ import { CapturingSettings } from '../../../../models/capturingSettings'; import { Link } from '../../../../models/link'; import { LinkNode } from '../../../../models/link-node'; import { Project } from '../../../../models/project'; -import{ Controller } from '../../../../models/controller'; +import { Controller } from '../../../../models/controller'; import { LinkService } from '../../../../services/link.service'; import { PacketCaptureService } from '../../../../services/packet-capture.service'; import { ToasterService } from '../../../../services/toaster.service';