mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
committed by
GitHub
parent
20503f92ae
commit
22d52eadb2
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user