diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/fleet_server_host.test.ts b/x-pack/plugins/fleet/server/services/preconfiguration/fleet_server_host.test.ts index de7578129a09b..c382b1f13f40e 100644 --- a/x-pack/plugins/fleet/server/services/preconfiguration/fleet_server_host.test.ts +++ b/x-pack/plugins/fleet/server/services/preconfiguration/fleet_server_host.test.ts @@ -15,6 +15,8 @@ import { updateFleetServerHost, } from '../fleet_server_host'; +import type { FleetServerHost } from '../../../common/types'; + import { createCloudFleetServerHostIfNeeded, getCloudFleetServersHosts, @@ -22,8 +24,6 @@ import { createOrUpdatePreconfiguredFleetServerHosts, } from './fleet_server_host'; -import type { FleetServerHost } from '../../../common/types'; - jest.mock('../fleet_server_host'); jest.mock('../app_context'); jest.mock('../agent_policy'); diff --git a/x-pack/plugins/fleet/server/telemetry/sender.ts b/x-pack/plugins/fleet/server/telemetry/sender.ts index 8fb71683b2c9c..bdecd6cc8d0bf 100644 --- a/x-pack/plugins/fleet/server/telemetry/sender.ts +++ b/x-pack/plugins/fleet/server/telemetry/sender.ts @@ -14,10 +14,10 @@ import axios from 'axios'; import type { InfoResponse, LicenseGetResponse } from '@elastic/elasticsearch/lib/api/types'; -import { appContextService } from '../services'; - import { exhaustMap, Subject, takeUntil, timer } from 'rxjs'; +import { appContextService } from '../services'; + import { TelemetryQueue } from './queue'; import type { FleetTelemetryChannel, FleetTelemetryChannelEvents } from './types';