Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Mar 29, 2022
1 parent 5ea8e67 commit cb79d66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ export default function DataSourcePanel({
/>
<div className="field-selections">
<Collapse
// bordered
defaultActiveKey={['metrics', 'column']}
expandIconPosition="right"
ghost
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('FilterDefinitionOption', () => {

it('renders a StyledColumnOption given an adhoc metric', () => {
render(<FilterDefinitionOption option={sumValueAdhocMetric} />);
expect(screen.getByText('source')).toBeVisible();
expect(screen.getByText('SUM(source)')).toBeVisible();
});

it('renders the metric name given a saved metric', () => {
Expand Down

0 comments on commit cb79d66

Please sign in to comment.