Skip to content

Commit

Permalink
fix stuff after merge from main
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-tavares committed Apr 18, 2022
1 parent 1f6ca0a commit 53ae8de
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { AppContextTestRender, createAppRootMockRenderer } from '../../../common/mock/endpoint';
import { FormattedError } from './formatted_error';
import React from 'react';
import type { HttpFetchError } from 'kibana/public';
import type { HttpFetchError } from '@kbn/core/public';

describe('When using the `FormattedError` component', () => {
let render: () => ReturnType<AppContextTestRender['render']>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import React, { memo, useMemo } from 'react';
import { EuiText } from '@elastic/eui';
import type { HttpFetchError } from 'kibana/public';
import type { HttpFetchError } from '@kbn/core/public';

const isHttpFetchError = (error: Error | HttpFetchError): error is HttpFetchError => {
return 'body' in error && 'req' in error && 'res' in error && 'response' in error;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import {
isEffectedPolicySelected,
} from '../../../../components/effected_policy_select/test_utils';
import { BY_POLICY_ARTIFACT_TAG_PREFIX } from '../../../../../../common/endpoint/service/artifacts';
import { HttpFetchOptionsWithPath } from 'kibana/public';
import { HttpFetchOptionsWithPath } from '@kbn/core/public';

jest.mock('../../../../../common/components/user_privileges');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import {
ResponseProvidersInterface,
} from '../../../common/mock/endpoint/http_handler_mock_factory';
import { ExceptionsListItemGenerator } from '../../../../common/endpoint/data_generators/exceptions_list_item_generator';
import { getExceptionListSchemaMock } from '../../../../../lists/common/schemas/response/exception_list_schema.mock';
import {
BY_POLICY_ARTIFACT_TAG_PREFIX,
GLOBAL_ARTIFACT_TAG,
Expand Down

0 comments on commit 53ae8de

Please sign in to comment.