aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test/nfvo-components/input/validation/input.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/test/nfvo-components/input/validation/input.test.js')
-rw-r--r--openecomp-ui/test/nfvo-components/input/validation/input.test.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/openecomp-ui/test/nfvo-components/input/validation/input.test.js b/openecomp-ui/test/nfvo-components/input/validation/input.test.js
index 841f64ac3f..8b4b0fa1d7 100644
--- a/openecomp-ui/test/nfvo-components/input/validation/input.test.js
+++ b/openecomp-ui/test/nfvo-components/input/validation/input.test.js
@@ -20,8 +20,13 @@ import {scryRenderedDOMComponentsWithTestId} from 'test-utils/Util.js';
import Input from 'nfvo-components/input/validation/Input.jsx';
import Overlay from 'react-bootstrap/lib/Overlay.js';
import {shallow} from 'enzyme';
+import Adapter from 'enzyme-adapter-react-16';
+import Enzyme from 'enzyme';
describe('Input', function () {
+
+ Enzyme.configure({ adapter: new Adapter() })
+
it('should render with type text', () => {
let renderedOutput = TestUtils.renderIntoDocument(<Input type='text' data-test-id='mytest' />);
const elem = scryRenderedDOMComponentsWithTestId(renderedOutput,'mytest');