diff --git a/packages/kbn-eslint-import-resolver-kibana/lib/get_webpack_config.js b/packages/kbn-eslint-import-resolver-kibana/lib/get_webpack_config.js index 415489119e8c3..ff249fcbb5ab4 100755 --- a/packages/kbn-eslint-import-resolver-kibana/lib/get_webpack_config.js +++ b/packages/kbn-eslint-import-resolver-kibana/lib/get_webpack_config.js @@ -18,7 +18,7 @@ module.exports = function getWebpackConfig(source, projectRoot, config) { 'moment-timezone$': fromKibana('webpackShims/moment-timezone'), // Dev defaults for test bundle https://github.com/elastic/kibana/blob/6998f074542e8c7b32955db159d15661aca253d7/src/core_plugins/tests_bundle/index.js#L73-L78 - ng_mock$: fromKibana('src/core_plugins/dev_mode/public/ng_mock'), + ng_mock$: fromKibana('src/test_utils/public/ng_mock'), 'angular-mocks$': fromKibana( 'src/core_plugins/tests_bundle/webpackShims/angular-mocks.js' ), diff --git a/src/core_plugins/tests_bundle/index.js b/src/core_plugins/tests_bundle/index.js index 4852c649719ab..1b580b66b9cf2 100644 --- a/src/core_plugins/tests_bundle/index.js +++ b/src/core_plugins/tests_bundle/index.js @@ -84,7 +84,7 @@ export default (kibana) => { }, __globalImportAliases__: { - ng_mock$: fromRoot('src/core_plugins/dev_mode/public/ng_mock'), + ng_mock$: fromRoot('src/test_utils/public/ng_mock'), 'angular-mocks$': require.resolve('./webpackShims/angular-mocks'), fixtures: fromRoot('src/fixtures'), test_utils: fromRoot('src/test_utils/public'), diff --git a/src/core_plugins/dev_mode/public/ng_mock.js b/src/test_utils/public/ng_mock.js similarity index 100% rename from src/core_plugins/dev_mode/public/ng_mock.js rename to src/test_utils/public/ng_mock.js