Move deprecations getters test helpers to package (#137793)

This commit is contained in:
Christiane (Tina) Heiligers 2022-08-03 00:10:19 -07:00 committed by GitHub
parent 70b8b56562
commit b0f5a63c7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 173 additions and 5 deletions

View file

@ -44,6 +44,7 @@ RUNTIME_DEPS = [
"//packages/core/http/core-http-server-mocks",
"//packages/core/elasticsearch/core-elasticsearch-client-server-mocks",
"//packages/core/config/core-config-server-internal",
"//packages/core/test-helpers/core-test-helpers-deprecations-getters",
]
TYPES_DEPS = [
@ -67,6 +68,7 @@ TYPES_DEPS = [
"//packages/core/execution-context/core-execution-context-server-internal:npm_module_types",
"//packages/core/elasticsearch/core-elasticsearch-server:npm_module_types",
"//packages/core/elasticsearch/core-elasticsearch-client-server-internal:npm_module_types",
"//packages/core/test-helpers/core-test-helpers-deprecations-getters:npm_module_types"
]
jsts_transpiler(

View file

@ -13,7 +13,7 @@ import {
} from './elasticsearch_config.test.mocks';
import { ElasticsearchConfig, config } from './elasticsearch_config';
import { getDeprecationsFor } from '@kbn/core-config-server-internal';
import { getDeprecationsFor } from '@kbn/core-test-helpers-deprecations-getters';
const CONFIG_PATH = 'elasticsearch';