From 7284ac5ee311ae76b50511e21eb07428336ac0a2 Mon Sep 17 00:00:00 2001 From: Aleh Zasypkin Date: Thu, 29 Nov 2018 14:17:22 +0100 Subject: [PATCH] [core_plugins/test_bundle] fix paths. --- src/legacy/core_plugins/tests_bundle/find_source_files.js | 2 +- src/legacy/core_plugins/tests_bundle/index.js | 2 +- src/legacy/core_plugins/tests_bundle/tests_entry_template.js | 2 +- .../core_plugins/tests_bundle/webpackShims/angular-mocks.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/legacy/core_plugins/tests_bundle/find_source_files.js b/src/legacy/core_plugins/tests_bundle/find_source_files.js index 08b482abc2b9..02e57aeb2b1b 100644 --- a/src/legacy/core_plugins/tests_bundle/find_source_files.js +++ b/src/legacy/core_plugins/tests_bundle/find_source_files.js @@ -18,7 +18,7 @@ */ -import { fromRoot } from '../../utils'; +import { fromRoot } from '../../../utils'; import { chain } from 'lodash'; import { resolve } from 'path'; import { fromNode } from 'bluebird'; diff --git a/src/legacy/core_plugins/tests_bundle/index.js b/src/legacy/core_plugins/tests_bundle/index.js index 6434001ad3a2..71e79f0ea7d1 100644 --- a/src/legacy/core_plugins/tests_bundle/index.js +++ b/src/legacy/core_plugins/tests_bundle/index.js @@ -17,7 +17,7 @@ * under the License. */ -import { fromRoot } from '../../utils'; +import { fromRoot } from '../../../utils'; import findSourceFiles from './find_source_files'; import { createTestEntryTemplate } from './tests_entry_template'; diff --git a/src/legacy/core_plugins/tests_bundle/tests_entry_template.js b/src/legacy/core_plugins/tests_bundle/tests_entry_template.js index aabe01734cc9..1f2ec988c4ac 100644 --- a/src/legacy/core_plugins/tests_bundle/tests_entry_template.js +++ b/src/legacy/core_plugins/tests_bundle/tests_entry_template.js @@ -17,7 +17,7 @@ * under the License. */ -import pkg from '../../../package.json'; +import pkg from '../../../../package.json'; export const createTestEntryTemplate = (defaultUiSettings) => (bundle) => ` /** diff --git a/src/legacy/core_plugins/tests_bundle/webpackShims/angular-mocks.js b/src/legacy/core_plugins/tests_bundle/webpackShims/angular-mocks.js index 47e9c2ef99f8..24f794cb3299 100644 --- a/src/legacy/core_plugins/tests_bundle/webpackShims/angular-mocks.js +++ b/src/legacy/core_plugins/tests_bundle/webpackShims/angular-mocks.js @@ -18,4 +18,4 @@ */ require('angular'); -require('../../../../node_modules/angular-mocks/angular-mocks.js'); +require('../../../../../node_modules/angular-mocks/angular-mocks.js');