diff --git a/public/app/features/explore/Explore.test.tsx b/public/app/features/explore/Explore.test.tsx index 599adfdbb02..7a8cc1460f4 100644 --- a/public/app/features/explore/Explore.test.tsx +++ b/public/app/features/explore/Explore.test.tsx @@ -121,6 +121,11 @@ 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/spec/datasourceState.test.tsx b/public/app/features/explore/spec/datasourceState.test.tsx index 4132e7f106e..ceed4a18606 100644 --- a/public/app/features/explore/spec/datasourceState.test.tsx +++ b/public/app/features/explore/spec/datasourceState.test.tsx @@ -12,6 +12,11 @@ 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 f8520afe280..18e305e70b6 100644 --- a/public/app/features/explore/spec/interpolation.test.tsx +++ b/public/app/features/explore/spec/interpolation.test.tsx @@ -13,6 +13,11 @@ 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 2d2ca951ec0..974040df7b1 100644 --- a/public/app/features/explore/spec/query.test.tsx +++ b/public/app/features/explore/spec/query.test.tsx @@ -11,6 +11,11 @@ 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 ca67720d66f..8223fb9b49b 100644 --- a/public/app/features/explore/spec/queryHistory.test.tsx +++ b/public/app/features/explore/spec/queryHistory.test.tsx @@ -48,6 +48,11 @@ 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 e114201108a..0f5414e50b2 100644 --- a/public/app/features/explore/spec/split.test.tsx +++ b/public/app/features/explore/spec/split.test.tsx @@ -43,6 +43,11 @@ jest.mock('react-virtualized-auto-sizer', () => { jest.mock('@grafana/runtime', () => ({ ...jest.requireActual('@grafana/runtime'), getAppEvents: () => testEventBus, + config: { + featureToggles: { + correlationsExploreEditor: false, + }, + }, })); jest.mock('../hooks/useExplorePageTitle', () => ({