mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
This commit is contained in:
committed by
Maxime Beauchemin
parent
209e7a9d91
commit
30f88caf55
@@ -57,7 +57,7 @@ describe('TableElement', () => {
|
||||
expect(wrapper.find(ColumnElement).first().props().column.name).toBe('id');
|
||||
wrapper.find('.sort-cols').simulate('click');
|
||||
expect(wrapper.state().sortColumns).toBe(true);
|
||||
expect(wrapper.find(ColumnElement).first().props().column.name).toBe('last_login');
|
||||
expect(wrapper.find(ColumnElement).first().props().column.name).toBe('active');
|
||||
});
|
||||
it('calls the collapseTable action', () => {
|
||||
const wrapper = mount(<TableElement {...mockedProps} />);
|
||||
|
||||
Reference in New Issue
Block a user