diff --git a/server/zanata-frontend/src/app/editor/components/EditorSearchInput/EditorSearchInput.test.js b/server/zanata-frontend/src/app/editor/components/EditorSearchInput/EditorSearchInput.test.js index 8a6e94fd41..055a8f7216 100644 --- a/server/zanata-frontend/src/app/editor/components/EditorSearchInput/EditorSearchInput.test.js +++ b/server/zanata-frontend/src/app/editor/components/EditorSearchInput/EditorSearchInput.test.js @@ -5,7 +5,11 @@ import React from 'react' import * as ReactDOMServer from 'react-dom/server' import * as TestUtils from 'react-dom/test-utils' import { EditorSearchInput } from '.' -import { Panel, Button } from 'react-bootstrap' +import Collapse from 'antd/lib/collapse' +import 'antd/lib/collapse/style/css' +import Button from 'antd/lib/button' +import 'antd/lib/button/style/css' +const Panel = Collapse.Panel const callback = () => {} @@ -41,85 +45,95 @@ describe('EditorSearchInputTest', () => { Hide advanced - - - Resource ID - - - - - Last modified by - - - - - - Last modified before - - - - - - Last modified after - - - - - Source comment - - - - - Translation comment - - - - - - msgctxt (gettext) - - - - - Clear all - - + + + + + Resource ID + + + + + Last modified by + + + + + + Last modified before + + + + + + Last modified after + + + + + Source comment + + + + + Translation comment + + + + + + msgctxt (gettext) + + + + + Clear all + + + + /* eslint-enable max-len */ )