mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
stackdriver: update tests
This commit is contained in:
parent
0280179d35
commit
209b1c026e
@ -4,7 +4,7 @@ import { StackdriverTemplateQueryComponent } from './TemplateQueryComponent';
|
||||
import { TemplateQueryProps } from 'app/types/plugins';
|
||||
|
||||
jest.mock('../functions', () => ({
|
||||
getMetricTypes: () => Promise.resolve({ metricTypes: [], selectedMetricType: '' }),
|
||||
getMetricTypes: async () => ({ metricTypes: [], selectedMetricType: '' }),
|
||||
extractServicesFromMetricDescriptors: m => m,
|
||||
}));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user