expanding regex for automated columns (#4990)

This commit is contained in:
Gabe Lyons
2018-05-11 15:43:52 -07:00
committed by Grace Guo
parent b75942daa5
commit 7d5195aae3
2 changed files with 11 additions and 2 deletions

View File

@@ -257,6 +257,15 @@ describe('MetricsControl', () => {
},
'sum',
)).to.be.false;
expect(!!wrapper.instance().selectFilterOption(
{
metric_name: 'sum__value',
optionName: 'sum__value',
expression: 'SUM("table"."value")',
},
'sum',
)).to.be.false;
});
it('filters out metrics if the input begins with an aggregate', () => {