Fix tests errors and warnings - iteration 5 (#12212) (#12224)

This commit is contained in:
Michael S. Molina
2021-01-26 04:35:57 -03:00
committed by GitHub
parent 20503f92ae
commit 22d52eadb2
8 changed files with 17 additions and 5 deletions

View File

@@ -33,7 +33,9 @@ describe('MetricDefinitionOption', () => {
}
it('renders a MetricOption given a saved metric', () => {
const wrapper = setup({ option: { metric_name: 'a_saved_metric' } });
const wrapper = setup({
option: { metric_name: 'a_saved_metric', expression: 'COUNT(*)' },
});
expect(wrapper.find(MetricOption)).toExist();
});