mirror of
https://github.com/apache/superset.git
synced 2026-04-07 10:31:50 +00:00
refactor: remove panel from userinfo component (#14364)
* first pass * fix merge * fix lint * covert pane to styled comp * add theme * fix lint * fix test * remove unused import
This commit is contained in:
committed by
GitHub
parent
e16c4d856e
commit
cee22e28c0
@@ -20,7 +20,6 @@ import React from 'react';
|
||||
import { Row, Col } from 'src/common/components';
|
||||
import { shallow } from 'enzyme';
|
||||
import App from 'src/profile/components/App';
|
||||
import Tabs from 'src/components/Tabs';
|
||||
|
||||
import { user } from './fixtures';
|
||||
|
||||
@@ -40,6 +39,6 @@ describe('App', () => {
|
||||
|
||||
it('renders 4 Tabs', () => {
|
||||
const wrapper = shallow(<App {...mockedProps} />);
|
||||
expect(wrapper.find(Tabs.TabPane)).toHaveLength(4);
|
||||
expect(wrapper.find('[tab]')).toHaveLength(4);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user