Skip to content

Commit

Permalink
update jest integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Oct 26, 2022
1 parent de8e41f commit 767ba8c
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ export type TestEnvironmentUtils = Awaited<ReturnType<typeof setupIntegrationEnv
export async function setupIntegrationEnvironment() {
const fileKind: string = 'test-file-kind';
const testIndex = '.kibana-test-files';
const testConfig = {
xpack: {
reporting: { enabled: false },
},
};

/**
* Functionality to create files easily
Expand Down Expand Up @@ -86,7 +81,7 @@ export async function setupIntegrationEnvironment() {
*/
const manageES = await startES();

const root = createRootWithCorePlugins(testConfig, { oss: false });
const root = createRootWithCorePlugins({}, { oss: false });
await root.preboot();
await root.setup();

Expand Down

0 comments on commit 767ba8c

Please sign in to comment.