Skip to content

Commit

Permalink
Import lists code from our new, standardized modules
Browse files Browse the repository at this point in the history
  • Loading branch information
rylnd committed Jul 14, 2020
1 parent 66d8241 commit 59e3b02
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import { act } from 'react-dom/test-utils';
import { waitForUpdates } from '../../../common/utils/test_utils';
import { TestProviders } from '../../../common/mock';
import { ValueListsForm } from './form';
import { useImportList } from '../../../lists_plugin_deps';
import { useImportList } from '../../../shared_imports';

jest.mock('../../../lists_plugin_deps');
jest.mock('../../../shared_imports');
const mockUseImportList = useImportList as jest.Mock;

const mockFile = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
EuiRadioGroup,
} from '@elastic/eui';

import { useImportList, ListSchema, Type } from '../../../lists_plugin_deps';
import { useImportList, ListSchema, Type } from '../../../shared_imports';
import * as i18n from './translations';
import { useKibana } from '../../../common/lib/kibana';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
useFindLists,
useDeleteList,
useCursor,
} from '../../../lists_plugin_deps';
} from '../../../shared_imports';
import { useToasts, useKibana } from '../../../common/lib/kibana';
import { GenericDownloader } from '../../../common/components/generic_downloader';
import * as i18n from './translations';
Expand Down

0 comments on commit 59e3b02

Please sign in to comment.