mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +00:00
Re-enable rule prefer-destructuring (only for objects) (#10867)
This commit is contained in:
committed by
GitHub
parent
c51168a30a
commit
352e8a1afd
@@ -41,7 +41,7 @@ describe('CollectionTable', () => {
|
||||
});
|
||||
|
||||
it('renders a table', () => {
|
||||
const length = mockDatasource['7__table'].columns.length;
|
||||
const { length } = mockDatasource['7__table'].columns;
|
||||
expect(wrapper.find('table')).toExist();
|
||||
expect(wrapper.find('tbody tr.row')).toHaveLength(length);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user