aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test/nfvo-components/input/validation/input.test.js
diff options
context:
space:
mode:
authorKhantwal <anamika.khantwal@accenture.com>2025-02-21 11:54:19 +0530
committerKhantwal <anamika.khantwal@accenture.com>2025-02-21 18:25:47 +0530
commitc8d9b63d72ec6ce72d587eb0ac20ae4709a0222d (patch)
tree0e5e427de40254c5f9c42162a23f00b46fbfc4d5 /openecomp-ui/test/nfvo-components/input/validation/input.test.js
parent2cf0e33271373bb45e66f43d06be24b68ba2cbbf (diff)
SDC component upliftment of janusgraph version1.14.1
- Janusgraph version update from 0.3.3 to 0.5.0 Issue-ID: SDC-4717 Change-Id: Ib7f7c7f0113a854e119ff7bd32ce5ec34da1692f Signed-off-by: Anamika Khantwal <anamika.khantwal@accenture.com>
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');