mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-17 04:55:58 +08:00
chore: fix UTs
This commit is contained in:
parent
aa8fdc225a
commit
6478a0e444
@ -183,7 +183,7 @@ describe('MetricsTable', () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
fireEvent.click(screen.getByText('Metric 1'));
|
fireEvent.click(screen.getByText('Metric 1'));
|
||||||
expect(mockOpenMetricDetails).toHaveBeenCalledWith('metric1');
|
expect(mockOpenMetricDetails).toHaveBeenCalledWith('metric1', 'list');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('calls setOrderBy when column header is clicked', () => {
|
it('calls setOrderBy when column header is clicked', () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user