test: Adds tests for the FixedOrMetricControl component (#13705)

This commit is contained in:
Michael S. Molina
2021-04-13 19:26:31 -03:00
committed by GitHub
parent c8a794368d
commit cfe927bebb
4 changed files with 110 additions and 48 deletions

View File

@@ -294,7 +294,7 @@ class MetricsControl extends React.PureComponent {
null,
)}
datasource={this.props.datasource}
savedMetric={{}}
savedMetric={{ metric_name: '', expression: '' }}
datasourceType={this.props.datasourceType}
createNew
>