summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test/nfvo-components/input/dualListBox/dualListbox.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/test/nfvo-components/input/dualListBox/dualListbox.test.js')
-rw-r--r--openecomp-ui/test/nfvo-components/input/dualListBox/dualListbox.test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/openecomp-ui/test/nfvo-components/input/dualListBox/dualListbox.test.js b/openecomp-ui/test/nfvo-components/input/dualListBox/dualListbox.test.js
index 2df15c61b1..1af7e44a46 100644
--- a/openecomp-ui/test/nfvo-components/input/dualListBox/dualListbox.test.js
+++ b/openecomp-ui/test/nfvo-components/input/dualListBox/dualListbox.test.js
@@ -15,9 +15,9 @@
*/
import React from 'react';
-import TestUtils from 'react-dom/test-utils';
+import TestUtils from 'react-addons-test-utils';
import DualListboxView from 'nfvo-components/input/dualListbox/DualListboxView.jsx';
-import ShallowRenderer from 'react-test-renderer/shallow';
+
const ITEMS = [{id: '1', name: 'aaa'}, {id: '2', name: 'bbb'}, {id: '3', name: 'ccc'}];
@@ -25,7 +25,7 @@ describe('dualListBox Module Tests', function () {
it('should render basically', () => {
- const renderer = new ShallowRenderer();
+ var renderer = TestUtils.createRenderer();
renderer.render(<DualListboxView onChange={()=>{}}/>);
var renderedOutput = renderer.getRenderOutput();
expect(renderedOutput).toBeTruthy();