Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
Browse files Browse the repository at this point in the history
…-fix'
  • Loading branch information
kibanamachine committed Apr 17, 2024
1 parent 6b21072 commit 0c3ce8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ import { AppMountParameters, CoreStart, APP_WRAPPER_CLASS } from '@kbn/core/publ

import { KibanaRenderContextProvider } from '@kbn/react-kibana-context-render';
import { KibanaThemeProvider } from '@kbn/react-kibana-context-theme';
import {
KibanaContextProvider,
useDarkMode,
} from '@kbn/kibana-react-plugin/public';
import { KibanaContextProvider, useDarkMode } from '@kbn/kibana-react-plugin/public';

import { RedirectAppLinks } from '@kbn/shared-ux-link-redirect-app';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ import { UrlParamsProvider } from '../../../../context/url_params_context/url_pa

const core = coreMock.createStart();
jest.spyOn(core.uiSettings, 'get').mockImplementation((_key: string) => true);
jest
.spyOn(core.uiSettings, 'get$')
.mockImplementation((_key: string) => of(true));
jest.spyOn(core.uiSettings, 'get$').mockImplementation((_key: string) => of(true));

export const render = (component: React.ReactNode, options: { customHistory: MemoryHistory }) => {
const history = options?.customHistory ?? createMemoryHistory();
Expand Down

0 comments on commit 0c3ce8f

Please sign in to comment.