refactoring tests

This commit is contained in:
Erik Sundell 2019-01-08 12:52:47 +01:00
parent 803d546c70
commit e71e2b3035

View File

@ -7,7 +7,11 @@ const props: Props = {
onExecuteQuery: () => {},
target: DefaultTarget,
events: { on: () => {} },
datasource: { templateSrv: { variables: [] } },
datasource: {
templateSrv: { variables: [] },
getDefaultProject: () => 'project',
getMetricTypes: () => [],
},
};
describe('QueryEditor', () => {