Revert "refactor: Replace react-bootstrap tabs with Antd tabs (#11090)" (#11194)

This reverts commit 4fd993c4e0.

Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
John Bodley
2020-10-07 16:21:24 -07:00
committed by GitHub
parent 9785667a0d
commit 2a447ff466
10 changed files with 181 additions and 371 deletions

View File

@@ -17,10 +17,9 @@
* under the License.
*/
import React from 'react';
import { Col, Row } from 'react-bootstrap';
import { Col, Row, Tab } from 'react-bootstrap';
import { shallow } from 'enzyme';
import App from 'src/profile/components/App';
import Tabs from 'src/common/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);
});
});