[SIEM] Cleanup React imports (#53981)

This commit is contained in:
patrykkopycinski 2020-01-07 19:30:37 +01:00 committed by GitHub
parent 49d6a45788
commit 0308c9d8ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
295 changed files with 295 additions and 295 deletions

View file

@ -5,7 +5,7 @@
*/
import { EuiBadge } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
import * as i18n from './translations';

View file

@ -6,7 +6,7 @@
import { mount } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { TestProviders } from '../../mock';

View file

@ -5,7 +5,7 @@
*/
import { EuiIcon } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
/** Renders the body (non-pointy part) of an arrow */

View file

@ -9,7 +9,7 @@ import euiDarkVars from '@elastic/eui/dist/eui_theme_dark.json';
import { mount, shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import { noop } from 'lodash/fp';
import * as React from 'react';
import React from 'react';
import { ThemeProvider } from 'styled-components';
import { AutocompleteSuggestion } from '../../../../../../../src/plugins/data/public';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { TestProviders } from '../../mock';
import { PreferenceFormattedBytes } from '../formatted_bytes';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { DefaultDraggable } from '../draggables';
import { PreferenceFormattedBytes } from '../formatted_bytes';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { TestProviders } from '../../mock';
import { useMountAppended } from '../../utils/use_mount_appended';

View file

@ -5,7 +5,7 @@
*/
import { EuiText } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
import { DraggableBadge } from '../draggables';

View file

@ -5,7 +5,7 @@
*/
import { ShallowWrapper, shallow } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { AreaChartBaseComponent, AreaChartComponent } from './areachart';
import { ChartSeriesData } from './common';

View file

@ -5,7 +5,7 @@
*/
import { shallow, ShallowWrapper } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { BarChartBaseComponent, BarChartComponent } from './barchart';
import { ChartSeriesData } from './common';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { NetworkDirectionEcs } from '../../graphql/types';
import { DraggableBadge } from '../draggables';

View file

@ -6,7 +6,7 @@
import { mount, shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { MockedProvider } from 'react-apollo/test-utils';
import { mockBrowserFields, mocksSource } from '../../containers/source/mock';

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { MockedProvider } from 'react-apollo/test-utils';
import { mockBrowserFields, mocksSource } from '../../containers/source/mock';

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { MockedProvider } from 'react-apollo/test-utils';
import { mockBrowserFields, mocksSource } from '../../containers/source/mock';

View file

@ -5,7 +5,7 @@
*/
import { rgba } from 'polished';
import * as React from 'react';
import React from 'react';
import { Droppable } from 'react-beautiful-dnd';
import styled from 'styled-components';

View file

@ -5,7 +5,7 @@
*/
import { rgba } from 'polished';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
const Field = styled.div`

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { TestProviders } from '../../mock';
import { getEmptyString } from '../empty_value';

View file

@ -5,7 +5,7 @@
*/
import { EuiBadge, EuiBadgeProps, EuiToolTip, IconType } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import { Omit } from '../../../common/utility_types';
import { DragEffects, DraggableWrapper } from '../drag_and_drop/draggable_wrapper';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { TestProviders } from '../../mock';
import { ONE_MILLISECOND_AS_NANOSECONDS } from '../formatted_duration/helpers';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { DefaultDraggable } from '../draggables';
import { FormattedDuration } from '../formatted_duration';

View file

@ -5,7 +5,7 @@
*/
import { mount } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { mockBrowserFields } from '../../containers/source/mock';
import { TestProviders } from '../../mock';

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { useIndexPatterns } from '../../hooks/use_index_patterns';
import { EmbeddedMapComponent } from './embedded_map';

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { IndexPatternsMissingPromptComponent } from './index_patterns_missing_prompt';

View file

@ -6,7 +6,7 @@
import { EuiButton, EuiCode, EuiEmptyPrompt } from '@elastic/eui';
import { FormattedMessage } from '@kbn/i18n/react';
import * as React from 'react';
import React from 'react';
import chrome from 'ui/chrome';
import { useKibana } from '../../lib/kibana';

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { LineToolTipContentComponent } from './line_tool_tip_content';
import { FeatureProperty } from '../types';
import { SUM_OF_DESTINATION_BYTES, SUM_OF_SOURCE_BYTES } from '../map_config';

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { MapToolTipComponent } from './map_tool_tip';
import { MapFeature } from '../types';

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { FeatureProperty } from '../types';
import { getRenderedFieldValue, PointToolTipContentComponent } from './point_tool_tip_content';
import { TestProviders } from '../../../mock';

View file

@ -6,7 +6,7 @@
import { mount, shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { ToolTipFooterComponent } from './tooltip_footer';
describe('ToolTipFilter', () => {

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { Provider } from 'react-redux';
import { apolloClientObservable, mockGlobalState } from '../../mock';

View file

@ -15,7 +15,7 @@ import {
EuiText,
EuiToolTip,
} from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import { Draggable } from 'react-beautiful-dnd';
import styled from 'styled-components';

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { mockDetailItemData, mockDetailItemDataId } from '../../mock/mock_detail_item';
import { TestProviders } from '../../mock/test_providers';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { mockDetailItemData, mockDetailItemDataId } from '../../mock/mock_detail_item';
import { TestProviders } from '../../mock/test_providers';

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { mockDetailItemData } from '../../mock';

View file

@ -6,7 +6,7 @@
import { EuiCodeEditor } from '@elastic/eui';
import { set } from 'lodash/fp';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
import { DetailItem } from '../../graphql/types';

View file

@ -5,7 +5,7 @@
*/
import { mount } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { TestProviders } from '../../mock';

View file

@ -5,7 +5,7 @@
*/
import { EuiIcon } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
const LinkIcon = styled(EuiIcon)`

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { FlowTarget, GetIpOverviewQuery, HostEcsFields } from '../../graphql/types';
import { TestProviders } from '../../mock';

View file

@ -5,7 +5,7 @@
*/
import { mount } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { ThemeProvider } from 'styled-components';
import euiDarkVars from '@elastic/eui/dist/eui_theme_dark.json';

View file

@ -5,7 +5,7 @@
*/
import { EuiInMemoryTable, EuiTitle } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
import { BrowserFields } from '../../containers/source';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { mockBrowserFields } from '../../containers/source/mock';

View file

@ -5,7 +5,7 @@
*/
import { EuiInMemoryTable } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
import { BrowserFields } from '../../containers/source';

View file

@ -5,7 +5,7 @@
*/
import { mount } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { mockBrowserFields } from '../../containers/source/mock';

View file

@ -5,7 +5,7 @@
*/
import { mount } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { mockBrowserFields } from '../../containers/source/mock';

View file

@ -5,7 +5,7 @@
*/
import { EuiFlexGroup, EuiFlexItem, EuiTitle } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
import { BrowserFields } from '../../containers/source';

View file

@ -5,7 +5,7 @@
*/
import { mount } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { mockBrowserFields } from '../../containers/source/mock';
import { TestProviders } from '../../mock';

View file

@ -5,7 +5,7 @@
*/
import { omit } from 'lodash/fp';
import * as React from 'react';
import React from 'react';
import { mockBrowserFields } from '../../containers/source/mock';
import { TestProviders } from '../../mock';

View file

@ -8,7 +8,7 @@
import { EuiCheckbox, EuiIcon, EuiToolTip, EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
import { uniqBy } from 'lodash/fp';
import * as React from 'react';
import React from 'react';
import { Draggable } from 'react-beautiful-dnd';
import styled from 'styled-components';

View file

@ -5,7 +5,7 @@
*/
import { mount } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { mockBrowserFields } from '../../containers/source/mock';
import { TestProviders } from '../../mock';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { mockBrowserFields } from '../../containers/source/mock';
import { TestProviders } from '../../mock';

View file

@ -5,7 +5,7 @@
*/
import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
import { BrowserFields } from '../../containers/source';

View file

@ -5,7 +5,7 @@
*/
import { mount } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { mockBrowserFields } from '../../containers/source/mock';
import { TestProviders } from '../../mock';

View file

@ -12,7 +12,7 @@ import {
EuiText,
EuiTitle,
} from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
import { BrowserFields } from '../../containers/source';

View file

@ -5,7 +5,7 @@
*/
import { mount } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { mockBrowserFields } from '../../containers/source/mock';
import { TestProviders } from '../../mock';

View file

@ -6,7 +6,7 @@
import { mount, shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { FlowDirection } from '../../graphql/types';

View file

@ -7,7 +7,7 @@
import { mount, shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import { clone } from 'lodash/fp';
import * as React from 'react';
import React from 'react';
import { ActionCreator } from 'typescript-fsa';
import { FlowDirection, FlowTarget } from '../../graphql/types';

View file

@ -6,7 +6,7 @@
import { EuiNotificationBadge, EuiIcon, EuiButton } from '@elastic/eui';
import { rgba } from 'polished';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
import { DroppableWrapper } from '../../drag_and_drop/droppable_wrapper';

View file

@ -7,7 +7,7 @@
import { mount, shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import { set } from 'lodash/fp';
import * as React from 'react';
import React from 'react';
import { ActionCreator } from 'typescript-fsa';
import { apolloClientObservable, mockGlobalState, TestProviders } from '../../mock';

View file

@ -6,7 +6,7 @@
import { EuiBadge } from '@elastic/eui';
import { defaultTo, getOr } from 'lodash/fp';
import * as React from 'react';
import React from 'react';
import { connect } from 'react-redux';
import styled from 'styled-components';
import { ActionCreator } from 'typescript-fsa';

View file

@ -6,7 +6,7 @@
import { mount, shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { TestProviders } from '../../../mock';
import { flyoutHeaderHeight } from '..';

View file

@ -6,7 +6,7 @@
import { mount, shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { mockFrameworks, getMockKibanaUiSetting } from '../../mock';
import { useUiSetting$ } from '../../lib/kibana';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import numeral from '@elastic/numeral';
import { DEFAULT_BYTES_FORMAT } from '../../../common/constants';

View file

@ -7,7 +7,7 @@
import { mount, shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import moment from 'moment-timezone';
import * as React from 'react';
import React from 'react';
import { useUiSetting$ } from '../../lib/kibana';

View file

@ -5,7 +5,7 @@
*/
import moment from 'moment-timezone';
import * as React from 'react';
import React from 'react';
import { FormattedRelative } from '@kbn/i18n/react';
import { useUiSetting$ } from '../../lib/kibana';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { getFormattedDurationString } from './helpers';
import { FormattedDurationTooltip } from './tooltip';

View file

@ -5,7 +5,7 @@
*/
import { EuiToolTip } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import { FormattedMessage } from '@kbn/i18n/react';
import styled from 'styled-components';

View file

@ -5,7 +5,7 @@
*/
import { isArray, isEmpty, isString, uniq } from 'lodash/fp';
import * as React from 'react';
import React from 'react';
import { DragEffects, DraggableWrapper } from '../drag_and_drop/draggable_wrapper';
import { escapeDataProviderId } from '../drag_and_drop/helpers';

View file

@ -6,7 +6,7 @@
import euiDarkVars from '@elastic/eui/dist/eui_theme_dark.json';
import { mount } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { ThemeProvider } from 'styled-components';
import {

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { TestProviders } from '../../mock/test_providers';
import { useMountAppended } from '../../utils/use_mount_appended';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { FormattedFieldValue } from '../timeline/body/renderers/formatted_field';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { TestProviders } from '../../mock';
import { useMountAppended } from '../../utils/use_mount_appended';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
import { DraggableBadge } from '../draggables';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { getEmptyValue } from '../empty_value';
import { LastEventIndexKey } from '../../graphql/types';

View file

@ -5,7 +5,7 @@
*/
import { mount } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { mountWithIntl } from 'test_utils/enzyme_helpers';
import { encodeIpv6 } from '../../lib/helpers';

View file

@ -5,7 +5,7 @@
*/
import { EuiLink } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import { encodeIpv6 } from '../../lib/helpers';
import { getHostDetailsUrl, getIPDetailsUrl } from '../link_to';

View file

@ -5,7 +5,7 @@
*/
import { EuiFlexGroup, EuiFlexItem, EuiLoadingSpinner, EuiPanel, EuiText } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
const SpinnerFlexItem = styled(EuiFlexItem)`

View file

@ -5,7 +5,7 @@
*/
import { mount } from 'enzyme';
import moment from 'moment-timezone';
import * as React from 'react';
import React from 'react';
import { LocalizedDateTooltip } from '.';

View file

@ -7,7 +7,7 @@
import { EuiFlexGroup, EuiFlexItem, EuiToolTip } from '@elastic/eui';
import { FormattedRelative } from '@kbn/i18n/react';
import moment from 'moment';
import * as React from 'react';
import React from 'react';
export const LocalizedDateTooltip = React.memo<{
children: React.ReactNode;

View file

@ -5,7 +5,7 @@
*/
import { mount, shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { Markdown } from '.';

View file

@ -7,7 +7,7 @@
/* eslint-disable react/display-name */
import { EuiLink, EuiTableRow, EuiTableRowCell, EuiText, EuiToolTip } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import ReactMarkdown from 'react-markdown';
import styled from 'styled-components';

View file

@ -6,7 +6,7 @@
import { mount, shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { MarkdownHintComponent } from './markdown_hint';

View file

@ -5,7 +5,7 @@
*/
import { EuiText } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
import * as i18n from './translations';

View file

@ -7,7 +7,7 @@
/* eslint-disable react/display-name */
import { shallow } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { MatrixHistogram } from '.';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { InfluencerInput, Anomalies, CriteriaFields } from '../types';
import { useAnomaliesTableData } from './use_anomalies_table_data';

View file

@ -7,7 +7,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import { cloneDeep } from 'lodash/fp';
import * as React from 'react';
import React from 'react';
import { AnomalyScoreComponent } from './anomaly_score';
import { mockAnomalies } from '../mock';
import { TestProviders } from '../../../mock/test_providers';

View file

@ -7,7 +7,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import { cloneDeep } from 'lodash/fp';
import * as React from 'react';
import React from 'react';
import { AnomalyScoresComponent, createJobKey } from './anomaly_scores';
import { mockAnomalies } from '../mock';
import { TestProviders } from '../../../mock/test_providers';

View file

@ -6,7 +6,7 @@
import { shallow, mount } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { mockAnomalies } from '../mock';
import { createDescriptionList } from './create_description_list';
import { EuiDescriptionList } from '@elastic/eui';

View file

@ -6,7 +6,7 @@
import { mount, shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { GroupsFilterPopoverComponent } from './groups_filter_popover';
import { mockSiemJobs } from '../../__mocks__/api';
import { SiemJob } from '../../types';

View file

@ -6,7 +6,7 @@
import { mount, shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { JobsTableFiltersComponent } from './jobs_table_filters';
import { SiemJob } from '../../types';
import { cloneDeep } from 'lodash/fp';

View file

@ -6,7 +6,7 @@
import { shallow, mount } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { isChecked, isFailure, isJobLoading, JobSwitchComponent } from './job_switch';
import { cloneDeep } from 'lodash/fp';

View file

@ -6,7 +6,7 @@
import { shallow, mount } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { JobsTableComponent } from './jobs_table';
import { mockSiemJobs } from '../__mocks__/api';
import { cloneDeep } from 'lodash/fp';

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { ShowingCountComponent } from './showing_count';
describe('ShowingCount', () => {

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import * as React from 'react';
import React from 'react';
import { mountWithIntl } from 'test_utils/enzyme_helpers';
import { MlPopover } from './ml_popover';

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { PopoverDescriptionComponent } from './popover_description';
describe('JobsTableFilters', () => {

View file

@ -6,7 +6,7 @@
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import * as React from 'react';
import React from 'react';
import { UpgradeContentsComponent } from './upgrade_contents';
describe('JobsTableFilters', () => {

View file

@ -5,7 +5,7 @@
*/
import { mount } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { CONSTANTS } from '../url_state/constants';
import { SiemNavigationComponent } from './';

View file

@ -5,7 +5,7 @@
*/
import { mount } from 'enzyme';
import * as React from 'react';
import React from 'react';
import { navTabs } from '../../../pages/home/home_navigations';
import { SiemPageName } from '../../../pages/home/types';

View file

@ -6,7 +6,7 @@
import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
import { uniq } from 'lodash/fp';
import * as React from 'react';
import React from 'react';
import {
CertificateFingerprint,

View file

@ -6,7 +6,7 @@
import toJson from 'enzyme-to-json';
import { get } from 'lodash/fp';
import * as React from 'react';
import React from 'react';
import { shallow } from 'enzyme';
import { asArrayIfExists } from '../../lib/helpers';

View file

@ -5,7 +5,7 @@
*/
import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
import * as React from 'react';
import React from 'react';
import { Fingerprints } from './fingerprints';
import { NetflowColumns } from './netflow_columns';

View file

@ -6,7 +6,7 @@
import { EuiFlexGroup, EuiFlexItem, EuiIcon, EuiText } from '@elastic/eui';
import { uniq } from 'lodash/fp';
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
import { DefaultDraggable } from '../../draggables';

Some files were not shown because too many files have changed in this diff Show more