diff --git a/x-pack/solutions/security/plugins/security_solution/public/common/mock/test_providers.tsx b/x-pack/solutions/security/plugins/security_solution/public/common/mock/test_providers.tsx
index 7414e3c1c2de3..94afe2cf2345c 100644
--- a/x-pack/solutions/security/plugins/security_solution/public/common/mock/test_providers.tsx
+++ b/x-pack/solutions/security/plugins/security_solution/public/common/mock/test_providers.tsx
@@ -17,8 +17,6 @@ import { ThemeProvider } from 'styled-components';
import type { Capabilities } from '@kbn/core/public';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
-import { KibanaRenderContextProvider } from '@kbn/react-kibana-context-render';
-import { coreMock } from '@kbn/core/public/mocks';
import type { Action } from '@kbn/ui-actions-plugin/public';
import { CellActionsProvider } from '@kbn/cell-actions';
import { TestProvider as ExpandableFlyoutTestProvider } from '@kbn/expandable-flyout/src/test/provider';
@@ -77,31 +75,29 @@ export const TestProvidersComponent = ({
return (
-
-
-
-
- ({ eui: euiDarkVars, darkMode: true })}>
-
-
-
-
-
- Promise.resolve(cellActions)}
- >
- {children}
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ ({ eui: euiDarkVars, darkMode: true })}>
+
+
+
+
+
+ Promise.resolve(cellActions)}
+ >
+ {children}
+
+
+
+
+
+
+
+
+
+
);
};
diff --git a/x-pack/solutions/security/plugins/security_solution/public/overview/pages/data_quality.test.tsx b/x-pack/solutions/security/plugins/security_solution/public/overview/pages/data_quality.test.tsx
index 8b14fff8082c5..eb03b934d5a95 100644
--- a/x-pack/solutions/security/plugins/security_solution/public/overview/pages/data_quality.test.tsx
+++ b/x-pack/solutions/security/plugins/security_solution/public/overview/pages/data_quality.test.tsx
@@ -14,6 +14,7 @@ import { useKibana as mockUseKibana } from '../../common/lib/kibana/__mocks__';
import { TestProviders } from '../../common/mock';
import { DataQuality } from './data_quality';
import { useKibana } from '../../common/lib/kibana';
+import { KibanaRenderContextProvider } from '@kbn/react-kibana-context-render';
const mockedUseKibana = mockUseKibana();
@@ -104,11 +105,13 @@ describe('DataQuality', () => {
describe('when indices exist, and loading is complete', () => {
beforeEach(async () => {
render(
-
-
-
-
-
+
+
+
+
+
+
+
);
await waitFor(() => {});
@@ -136,11 +139,13 @@ describe('DataQuality', () => {
mockUseSourcererDataView.mockReturnValue({ ...defaultUseSourcererReturn, loading: true });
render(
-
-
-
-
-
+
+
+
+
+
+
+
);
await waitFor(() => {});
@@ -168,11 +173,13 @@ describe('DataQuality', () => {
mockUseSignalIndex.mockReturnValue({ ...defaultUseSignalIndexReturn, loading: true });
render(
-
-
-
-
-
+
+
+
+
+
+
+
);
await waitFor(() => {});
@@ -205,11 +212,13 @@ describe('DataQuality', () => {
mockUseSignalIndex.mockReturnValue({ ...defaultUseSignalIndexReturn, loading: false });
render(
-
-
-
-
-
+
+
+
+
+
+
+
);
await waitFor(() => {});
@@ -242,11 +251,13 @@ describe('DataQuality', () => {
mockUseSignalIndex.mockReturnValue({ ...defaultUseSignalIndexReturn, loading: false });
render(
-
-
-
-
-
+
+
+
+
+
+
+
);
await waitFor(() => {});
@@ -279,11 +290,13 @@ describe('DataQuality', () => {
mockUseSignalIndex.mockReturnValue({ ...defaultUseSignalIndexReturn, loading: true });
render(
-
-
-
-
-
+
+
+
+
+
+
+
);
await waitFor(() => {});
@@ -335,11 +348,13 @@ describe('DataQuality', () => {
});
render(
-
-
-
-
-
+
+
+
+
+
+
+
);
await waitFor(() => {});