Prometheus: Remove promQueryBuilder feature flag (#60153)

This commit is contained in:
Ludovic Viaud
2022-12-19 14:52:06 +01:00
committed by GitHub
parent e6b5c2655a
commit 645262d4a2
5 changed files with 0 additions and 28 deletions

View File

@@ -21,21 +21,6 @@ jest.mock('./monaco-query-field/MonacoQueryFieldLazy', () => {
};
});
jest.mock('@grafana/runtime', () => {
const runtime = jest.requireActual('@grafana/runtime');
return {
__esModule: true,
...runtime,
config: {
...runtime.config,
featureToggles: {
...runtime.config.featureToggles,
promQueryBuilder: true,
},
},
};
});
function setup(app: CoreApp): RenderResult & { onRunQuery: jest.Mock } {
const dataSource = {
createQuery: jest.fn((q) => q),