diff --git a/public/app/features/explore/Explore.test.tsx b/public/app/features/explore/Explore.test.tsx index 7a8cc1460f4..599adfdbb02 100644 --- a/public/app/features/explore/Explore.test.tsx +++ b/public/app/features/explore/Explore.test.tsx @@ -121,11 +121,6 @@ jest.mock('@grafana/runtime', () => ({ getInstanceSettings: () => {}, }), usePluginLinks: jest.fn(() => ({ links: [] })), - config: { - featureToggles: { - correlationsExploreEditor: false, - }, - }, })); jest.mock('app/core/services/context_srv', () => ({ diff --git a/public/app/features/explore/ExplorePage.tsx b/public/app/features/explore/ExplorePage.tsx index d3bb79a42f1..8fc6cb0840e 100644 --- a/public/app/features/explore/ExplorePage.tsx +++ b/public/app/features/explore/ExplorePage.tsx @@ -3,6 +3,7 @@ import { useEffect } from 'react'; import { GrafanaTheme2 } from '@grafana/data'; import { t, Trans } from '@grafana/i18n'; +import { config } from '@grafana/runtime'; import { ErrorBoundaryAlert, LoadingPlaceholder, useStyles2, useTheme2 } from '@grafana/ui'; import { SplitPaneWrapper } from 'app/core/components/SplitPaneWrapper/SplitPaneWrapper'; import { useGrafana } from 'app/core/context/GrafanaContext'; diff --git a/public/app/features/explore/spec/datasourceState.test.tsx b/public/app/features/explore/spec/datasourceState.test.tsx index ceed4a18606..4132e7f106e 100644 --- a/public/app/features/explore/spec/datasourceState.test.tsx +++ b/public/app/features/explore/spec/datasourceState.test.tsx @@ -12,11 +12,6 @@ const testEventBus = new EventBusSrv(); jest.mock('@grafana/runtime', () => ({ ...jest.requireActual('@grafana/runtime'), getAppEvents: () => testEventBus, - config: { - featureToggles: { - correlationsExploreEditor: false, - }, - }, })); jest.mock('react-virtualized-auto-sizer', () => { diff --git a/public/app/features/explore/spec/interpolation.test.tsx b/public/app/features/explore/spec/interpolation.test.tsx index 18e305e70b6..f8520afe280 100644 --- a/public/app/features/explore/spec/interpolation.test.tsx +++ b/public/app/features/explore/spec/interpolation.test.tsx @@ -13,11 +13,6 @@ const testEventBus = new EventBusSrv(); jest.mock('@grafana/runtime', () => ({ ...jest.requireActual('@grafana/runtime'), getAppEvents: () => testEventBus, - config: { - featureToggles: { - correlationsExploreEditor: false, - }, - }, })); jest.mock('app/core/services/context_srv', () => ({ diff --git a/public/app/features/explore/spec/query.test.tsx b/public/app/features/explore/spec/query.test.tsx index 974040df7b1..2d2ca951ec0 100644 --- a/public/app/features/explore/spec/query.test.tsx +++ b/public/app/features/explore/spec/query.test.tsx @@ -11,11 +11,6 @@ const testEventBus = new EventBusSrv(); jest.mock('@grafana/runtime', () => ({ ...jest.requireActual('@grafana/runtime'), getAppEvents: () => testEventBus, - config: { - featureToggles: { - correlationsExploreEditor: false, - }, - }, })); jest.mock('react-virtualized-auto-sizer', () => { diff --git a/public/app/features/explore/spec/queryHistory.test.tsx b/public/app/features/explore/spec/queryHistory.test.tsx index 8223fb9b49b..ca67720d66f 100644 --- a/public/app/features/explore/spec/queryHistory.test.tsx +++ b/public/app/features/explore/spec/queryHistory.test.tsx @@ -48,11 +48,6 @@ jest.mock('@grafana/runtime', () => ({ }, getAppEvents: () => testEventBus, usePluginLinks: jest.fn().mockReturnValue({ links: [] }), - config: { - featureToggles: { - correlationsExploreEditor: false, - }, - }, })); jest.mock('app/core/services/context_srv', () => ({ diff --git a/public/app/features/explore/spec/split.test.tsx b/public/app/features/explore/spec/split.test.tsx index 0f5414e50b2..e114201108a 100644 --- a/public/app/features/explore/spec/split.test.tsx +++ b/public/app/features/explore/spec/split.test.tsx @@ -43,11 +43,6 @@ jest.mock('react-virtualized-auto-sizer', () => { jest.mock('@grafana/runtime', () => ({ ...jest.requireActual('@grafana/runtime'), getAppEvents: () => testEventBus, - config: { - featureToggles: { - correlationsExploreEditor: false, - }, - }, })); jest.mock('../hooks/useExplorePageTitle', () => ({