Skip to content

Commit

Permalink
remove unused test
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardgou-sentry committed Nov 28, 2024
1 parent cff25a7 commit 2b47237
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions static/app/components/metrics/metricSearchBar.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,5 @@ describe('metricSearchBar', function () {
screen.getByText('Invalid key. "span.module" is not a supported search key.');
expect(onChange).not.toHaveBeenCalled();
});
it('allows insights specific filters when using an insights mri', async function () {
render(
<MetricSearchBar onChange={onChange} mri="d:spans/exclusive_time@millisecond" />
);
await screen.findByPlaceholderText('Filter by tags');
await userEvent.type(
screen.getByPlaceholderText('Filter by tags'),
'span.module:db'
);
await userEvent.keyboard('{enter}');
expect(
screen.queryByText('Invalid key. "span.module" is not a supported search key.')
).not.toBeInTheDocument();
expect(onChange).toHaveBeenCalledWith('span.module:"db"');
});
});
});

0 comments on commit 2b47237

Please sign in to comment.