mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Prometheus: Remove promQueryBuilder feature flag (#60153)
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user