Skip to content

Commit

Permalink
convert deep imports to top level imports (#112203) (#112351)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Matthew Kime <[email protected]>
  • Loading branch information
kibanamachine and mattkime authored Sep 15, 2021
1 parent 6b452f8 commit c9cce5d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ import { HttpStart } from 'kibana/public';

import { AutocompleteStart } from '../../../../../../../src/plugins/data/public';
import { EuiThemeProvider } from '../../../../../../../src/plugins/kibana_react/common';
import {
fields,
getField,
} from '../../../../../../../src/plugins/data/common/index_patterns/fields/fields.mocks';
import { fields, getField } from '../../../../../../../src/plugins/data/common/mocks';
import { getEntryMatchAnyMock } from '../../../../common/schemas/types/entry_match_any.mock';
import { getEntryMatchMock } from '../../../../common/schemas/types/entry_match.mock';
import { getEntryExistsMock } from '../../../../common/schemas/types/entry_exists.mock';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
} from '@kbn/securitysolution-io-ts-list-types';

import { AutocompleteStart } from '../../../../../../../src/plugins/data/public';
import { fields } from '../../../../../../../src/plugins/data/common/index_patterns/fields/fields.mocks';
import { fields } from '../../../../../../../src/plugins/data/common/mocks';
import { EuiThemeProvider } from '../../../../../../../src/plugins/kibana_react/common';

import { BuilderEntryItem, EntryItemProps } from './entry_renderer';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ import {
import { useFindLists } from '@kbn/securitysolution-list-hooks';
import { FieldSpec } from 'src/plugins/data/common';

import {
fields,
getField,
} from '../../../../../../../src/plugins/data/common/index_patterns/fields/fields.mocks';
import { fields, getField } from '../../../../../../../src/plugins/data/common/mocks';
import { dataPluginMock } from '../../../../../../../src/plugins/data/public/mocks';
import { coreMock } from '../../../../../../../src/core/public/mocks';
import { getFoundListSchemaMock } from '../../../../common/schemas/response/found_list_schema.mock';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import React from 'react';
import { mount } from 'enzyme';
import { dataPluginMock } from 'src/plugins/data/public/mocks';

import { fields } from '../../../../../../../src/plugins/data/common/index_patterns/fields/fields.mocks';
import { fields } from '../../../../../../../src/plugins/data/common/mocks';
import { EuiThemeProvider } from '../../../../../../../src/plugins/kibana_react/common';
import { getExceptionListItemSchemaMock } from '../../../../common/schemas/response/exception_list_item_schema.mock';
import { getEntryMatchMock } from '../../../../common/schemas/types/entry_match.mock';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ import { coreMock } from 'src/core/public/mocks';
import { dataPluginMock } from 'src/plugins/data/public/mocks';

import { EuiThemeProvider } from '../../../../../../../src/plugins/kibana_react/common';
import {
fields,
getField,
} from '../../../../../../../src/plugins/data/common/index_patterns/fields/fields.mocks';
import { fields, getField } from '../../../../../../../src/plugins/data/common/mocks';
import { getExceptionListItemSchemaMock } from '../../../../common/schemas/response/exception_list_item_schema.mock';
import { getEntryMatchAnyMock } from '../../../../common/schemas/types/entry_match_any.mock';
import { getEmptyValue } from '../../../common/empty_value';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@ import { IndexPatternBase, IndexPatternFieldBase } from '@kbn/es-query';
import { ENTRIES_WITH_IDS } from '../../../../common/constants.mock';
import { getEntryExistsMock } from '../../../../common/schemas/types/entry_exists.mock';
import { getExceptionListItemSchemaMock } from '../../../../common/schemas/response/exception_list_item_schema.mock';
import {
fields,
getField,
} from '../../../../../../../src/plugins/data/common/index_patterns/fields/fields.mocks';
import { fields, getField } from '../../../../../../../src/plugins/data/common/mocks';
import { FieldSpec } from '../../../../../../../src/plugins/data/common';
import { getEntryNestedMock } from '../../../../common/schemas/types/entry_nested.mock';
import { getEntryMatchMock } from '../../../../common/schemas/types/entry_match.mock';
Expand Down

0 comments on commit c9cce5d

Please sign in to comment.