Skip to content

Commit

Permalink
Updates missed import
Browse files Browse the repository at this point in the history
  • Loading branch information
TinaHeiligers authored and Tyler Smalley committed Nov 23, 2022
1 parent 389139e commit 1825dca
Showing 1 changed file with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@

import path from 'path';

import * as kbnTestServer from '@kbn/core/test_helpers/kbn_server';
import {
type TestElasticsearchUtils,
type TestKibanaUtils,
createTestServers,
createRootWithCorePlugins,
} from '@kbn/core-test-helpers-kbn-server';

import { fetchFleetUsage } from '../collectors/register';

Expand All @@ -17,12 +22,12 @@ const logFilePath = path.join(__dirname, 'logs.log');

describe('fleet usage telemetry', () => {
let core: any;
let esServer: kbnTestServer.TestElasticsearchUtils;
let kbnServer: kbnTestServer.TestKibanaUtils;
let esServer: TestElasticsearchUtils;
let kbnServer: TestKibanaUtils;
const registryUrl = 'http://localhost';

const startServers = async () => {
const { startES } = kbnTestServer.createTestServers({
const { startES } = createTestServers({
adjustTimeout: (t) => jest.setTimeout(t),
settings: {
es: {
Expand All @@ -34,7 +39,7 @@ describe('fleet usage telemetry', () => {

esServer = await startES();
const startKibana = async () => {
const root = kbnTestServer.createRootWithCorePlugins(
const root = createRootWithCorePlugins(
{
xpack: {
fleet: {
Expand Down

0 comments on commit 1825dca

Please sign in to comment.