Skip to content

Commit 965d775

Browse files
chore(NA): move maps plugin test fixtures out of __tests__ folder (#87764) (#87875)
* chore(NA): move maps plugin test fixtures out of __tests__ folder * chore(NA): last missing __tests__ folders renamed Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
1 parent 63f8fe4 commit 965d775

File tree

11 files changed

+6
-6
lines changed

11 files changed

+6
-6
lines changed

x-pack/plugins/maps/public/classes/layers/tiled_vector_layer/tiled_vector_layer.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* or more contributor license agreements. Licensed under the Elastic License;
44
* you may not use this file except in compliance with the Elastic License.
55
*/
6-
import { MockSyncContext } from '../__tests__/mock_sync_context';
6+
import { MockSyncContext } from '../__fixtures__/mock_sync_context';
77
import sinon from 'sinon';
88

99
jest.mock('../../../kibana_services', () => {

x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_color_property.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
DATA_MAPPING_FUNCTION,
2222
VECTOR_STYLES,
2323
} from '../../../../../common/constants';
24-
import { mockField, MockLayer, MockStyle } from './__tests__/test_util';
24+
import { mockField, MockLayer, MockStyle } from './test_helpers/test_util';
2525
import { ColorDynamicOptions } from '../../../../../common/descriptor_types';
2626
import { IVectorLayer } from '../../../layers/vector_layer/vector_layer';
2727
import { IField } from '../../../fields/field';

x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_icon_property.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import React from 'react';
1616
import { RawValue, VECTOR_STYLES } from '../../../../../common/constants';
1717
// @ts-ignore
1818
import { DynamicIconProperty } from './dynamic_icon_property';
19-
import { mockField, MockLayer } from './__tests__/test_util';
19+
import { mockField, MockLayer } from './test_helpers/test_util';
2020
import { IconDynamicOptions } from '../../../../../common/descriptor_types';
2121
import { IField } from '../../../fields/field';
2222
import { IVectorLayer } from '../../../layers/vector_layer/vector_layer';

x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { RawValue, VECTOR_STYLES } from '../../../../../common/constants';
1919
import { IField } from '../../../fields/field';
2020
import { Map as MbMap } from 'mapbox-gl';
2121
import { SizeDynamicOptions } from '../../../../../common/descriptor_types';
22-
import { mockField, MockLayer, MockStyle } from './__tests__/test_util';
22+
import { mockField, MockLayer, MockStyle } from './test_helpers/test_util';
2323
import { IVectorLayer } from '../../../layers/vector_layer/vector_layer';
2424

2525
export class MockMbMap {

x-pack/plugins/maps/public/classes/styles/vector/vector_style.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
VECTOR_SHAPE_TYPE,
1313
VECTOR_STYLES,
1414
} from '../../../../common/constants';
15-
import { MockField } from './properties/__tests__/test_util';
15+
import { MockField } from './properties/test_helpers/test_util';
1616

1717
jest.mock('../../../kibana_services');
1818

0 commit comments

Comments
 (0)