aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test/nfvo-components/editor/TabulatedEditor.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/test/nfvo-components/editor/TabulatedEditor.test.js')
-rw-r--r--openecomp-ui/test/nfvo-components/editor/TabulatedEditor.test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/openecomp-ui/test/nfvo-components/editor/TabulatedEditor.test.js b/openecomp-ui/test/nfvo-components/editor/TabulatedEditor.test.js
index 505bc91636..7a86933770 100644
--- a/openecomp-ui/test/nfvo-components/editor/TabulatedEditor.test.js
+++ b/openecomp-ui/test/nfvo-components/editor/TabulatedEditor.test.js
@@ -16,8 +16,8 @@
import React from 'react';
-import ShallowRenderer from 'react-test-renderer/shallow';
-import TestUtils from 'react-dom/test-utils';
+
+import TestUtils from 'react-addons-test-utils';
import TabulatedEditor from 'nfvo-components/editor/TabulatedEditor.jsx';
import { Provider } from 'react-redux';
import {storeCreator} from 'sdc-app/AppStore.js';
@@ -25,7 +25,7 @@ import {storeCreator} from 'sdc-app/AppStore.js';
describe('Tabulated Editor test: ', function () {
const store = storeCreator();
it('basic view test', () => {
- const renderer = new ShallowRenderer();
+ var renderer = TestUtils.createRenderer();
renderer.render(
<Provider store={store}><TabulatedEditor><button>test</button></TabulatedEditor></Provider>
);