mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Prettify the frontend code (#8648)
* Add Prettier global configs * Format js/jsx/ts/tsx/less files
This commit is contained in:
@@ -35,12 +35,16 @@ describe('CreatedContent', () => {
|
||||
};
|
||||
|
||||
it('renders 2 TableLoader', () => {
|
||||
const wrapper = shallow(<CreatedContent {...mockedProps} />, { context: { store } });
|
||||
const wrapper = shallow(<CreatedContent {...mockedProps} />, {
|
||||
context: { store },
|
||||
});
|
||||
expect(wrapper.find(TableLoader)).toHaveLength(2);
|
||||
});
|
||||
|
||||
it('renders 2 titles', () => {
|
||||
const wrapper = shallow(<CreatedContent {...mockedProps} />, { context: { store } });
|
||||
const wrapper = shallow(<CreatedContent {...mockedProps} />, {
|
||||
context: { store },
|
||||
});
|
||||
expect(wrapper.find('h3')).toHaveLength(2);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user