chore(NA): move maps plugin test fixtures out of __tests__ folder (#87764)
* chore(NA): move maps plugin test fixtures out of __tests__ folder * chore(NA): last missing __tests__ folders renamed Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
e5c812e783
commit
183cf56fcd
|
@ -3,7 +3,7 @@
|
||||||
* or more contributor license agreements. Licensed under the Elastic License;
|
* or more contributor license agreements. Licensed under the Elastic License;
|
||||||
* you may not use this file except in compliance with the Elastic License.
|
* you may not use this file except in compliance with the Elastic License.
|
||||||
*/
|
*/
|
||||||
import { MockSyncContext } from '../__tests__/mock_sync_context';
|
import { MockSyncContext } from '../__fixtures__/mock_sync_context';
|
||||||
import sinon from 'sinon';
|
import sinon from 'sinon';
|
||||||
|
|
||||||
jest.mock('../../../kibana_services', () => {
|
jest.mock('../../../kibana_services', () => {
|
||||||
|
|
|
@ -21,7 +21,7 @@ import {
|
||||||
DATA_MAPPING_FUNCTION,
|
DATA_MAPPING_FUNCTION,
|
||||||
VECTOR_STYLES,
|
VECTOR_STYLES,
|
||||||
} from '../../../../../common/constants';
|
} from '../../../../../common/constants';
|
||||||
import { mockField, MockLayer, MockStyle } from './__tests__/test_util';
|
import { mockField, MockLayer, MockStyle } from './test_helpers/test_util';
|
||||||
import { ColorDynamicOptions } from '../../../../../common/descriptor_types';
|
import { ColorDynamicOptions } from '../../../../../common/descriptor_types';
|
||||||
import { IVectorLayer } from '../../../layers/vector_layer/vector_layer';
|
import { IVectorLayer } from '../../../layers/vector_layer/vector_layer';
|
||||||
import { IField } from '../../../fields/field';
|
import { IField } from '../../../fields/field';
|
||||||
|
|
|
@ -16,7 +16,7 @@ import React from 'react';
|
||||||
import { RawValue, VECTOR_STYLES } from '../../../../../common/constants';
|
import { RawValue, VECTOR_STYLES } from '../../../../../common/constants';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { DynamicIconProperty } from './dynamic_icon_property';
|
import { DynamicIconProperty } from './dynamic_icon_property';
|
||||||
import { mockField, MockLayer } from './__tests__/test_util';
|
import { mockField, MockLayer } from './test_helpers/test_util';
|
||||||
import { IconDynamicOptions } from '../../../../../common/descriptor_types';
|
import { IconDynamicOptions } from '../../../../../common/descriptor_types';
|
||||||
import { IField } from '../../../fields/field';
|
import { IField } from '../../../fields/field';
|
||||||
import { IVectorLayer } from '../../../layers/vector_layer/vector_layer';
|
import { IVectorLayer } from '../../../layers/vector_layer/vector_layer';
|
||||||
|
|
|
@ -19,7 +19,7 @@ import { RawValue, VECTOR_STYLES } from '../../../../../common/constants';
|
||||||
import { IField } from '../../../fields/field';
|
import { IField } from '../../../fields/field';
|
||||||
import { Map as MbMap } from 'mapbox-gl';
|
import { Map as MbMap } from 'mapbox-gl';
|
||||||
import { SizeDynamicOptions } from '../../../../../common/descriptor_types';
|
import { SizeDynamicOptions } from '../../../../../common/descriptor_types';
|
||||||
import { mockField, MockLayer, MockStyle } from './__tests__/test_util';
|
import { mockField, MockLayer, MockStyle } from './test_helpers/test_util';
|
||||||
import { IVectorLayer } from '../../../layers/vector_layer/vector_layer';
|
import { IVectorLayer } from '../../../layers/vector_layer/vector_layer';
|
||||||
|
|
||||||
export class MockMbMap {
|
export class MockMbMap {
|
||||||
|
|
|
@ -12,7 +12,7 @@ import {
|
||||||
VECTOR_SHAPE_TYPE,
|
VECTOR_SHAPE_TYPE,
|
||||||
VECTOR_STYLES,
|
VECTOR_STYLES,
|
||||||
} from '../../../../common/constants';
|
} from '../../../../common/constants';
|
||||||
import { MockField } from './properties/__tests__/test_util';
|
import { MockField } from './properties/test_helpers/test_util';
|
||||||
|
|
||||||
jest.mock('../../../kibana_services');
|
jest.mock('../../../kibana_services');
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { getGridTile, getTile } from './get_tile';
|
import { getGridTile, getTile } from './get_tile';
|
||||||
import { TILE_GRIDAGGS, TILE_SEARCHES } from './__tests__/tile_es_responses';
|
import { TILE_GRIDAGGS, TILE_SEARCHES } from './__fixtures__/tile_es_responses';
|
||||||
import { Logger } from 'src/core/server';
|
import { Logger } from 'src/core/server';
|
||||||
import {
|
import {
|
||||||
ES_GEO_FIELD_TYPE,
|
ES_GEO_FIELD_TYPE,
|
||||||
|
|
Loading…
Reference in a new issue