mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Sort searched queries by recency (#1735)
* Sort searched queries by recency * Fixed sqllab tests * Add one more tr to QueryTable spec for pagination * Change desc to asc as we reverse queries in component
This commit is contained in:
@@ -21,6 +21,6 @@ describe('QueryTable', () => {
|
||||
it('renders a proper table', () => {
|
||||
const wrapper = mount(<QueryTable {...mockedProps} />);
|
||||
expect(wrapper.find('table')).to.have.length(1);
|
||||
expect(wrapper.find('tr')).to.have.length(3);
|
||||
expect(wrapper.find('tr')).to.have.length(4);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user