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:
Phillip Kelley-Dotson
2021-05-08 15:04:16 -07:00
committed by GitHub
parent e16c4d856e
commit cee22e28c0
2 changed files with 19 additions and 32 deletions

View File

@@ -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);
});
});