Skip to content

Commit

Permalink
rename / refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
opauloh committed Nov 25, 2021
1 parent 68ceaaa commit c7f6108
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
8 changes: 0 additions & 8 deletions x-pack/plugins/session_view/common/mock/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

import { waitFor, waitForElementToBeRemoved } from '@testing-library/react';
import React from 'react';
import { sessionViewProcessEventsMock } from '../../../common/schemas/responses/session_view_process_events.mock';
import { AppContextTestRender, createAppRootMockRenderer } from '../../../common/mock';
import { sessionViewProcessEventsMock } from '../../../common/mocks/responses/session_view_process_events.mock';
import { AppContextTestRender, createAppRootMockRenderer } from '../../test';
import { SessionView } from './index';

describe('SessionView component', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ import { Router } from 'react-router-dom';
import { History } from 'history';
import useObservable from 'react-use/lib/useObservable';
import { I18nProvider } from '@kbn/i18n/react';
import { coreMock } from '../../../../../src/core/public/mocks';
// eslint-disable-next-line @kbn/eslint/no-restricted-paths
import { KibanaContextProvider } from '../../../../../src/plugins/kibana_react/public';
import { EuiThemeProvider } from '../../../../../src/plugins/kibana_react/common';
import { CoreStart } from '../../../../../src/core/public';
import { CoreStart } from 'src/core/public';
import { coreMock } from 'src/core/public/mocks';
import { KibanaContextProvider } from 'src/plugins/kibana_react/public';
import { EuiThemeProvider } from 'src/plugins/kibana_react/common';

type UiRender = (ui: React.ReactElement, options?: RenderOptions) => RenderResult;

Expand Down

0 comments on commit c7f6108

Please sign in to comment.