diff --git a/public/app/plugins/datasource/stackdriver/components/QueryEditor.test.tsx b/public/app/plugins/datasource/stackdriver/components/QueryEditor.test.tsx index 30cfa9fbfd5..86682f20035 100644 --- a/public/app/plugins/datasource/stackdriver/components/QueryEditor.test.tsx +++ b/public/app/plugins/datasource/stackdriver/components/QueryEditor.test.tsx @@ -7,7 +7,11 @@ const props: Props = { onExecuteQuery: () => {}, target: DefaultTarget, events: { on: () => {} }, - datasource: { templateSrv: { variables: [] } }, + datasource: { + templateSrv: { variables: [] }, + getDefaultProject: () => 'project', + getMetricTypes: () => [], + }, }; describe('QueryEditor', () => {