aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test/versionsPage/VersionsPage.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/test/versionsPage/VersionsPage.test.js')
-rw-r--r--openecomp-ui/test/versionsPage/VersionsPage.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-ui/test/versionsPage/VersionsPage.test.js b/openecomp-ui/test/versionsPage/VersionsPage.test.js
index e066b37dfc..b7e40714f1 100644
--- a/openecomp-ui/test/versionsPage/VersionsPage.test.js
+++ b/openecomp-ui/test/versionsPage/VersionsPage.test.js
@@ -15,7 +15,7 @@
*/
import React from 'react';
-import ShallowRenderer from 'react-test-renderer/shallow';
+import TestUtils from 'react-addons-test-utils';
import deepFreeze from 'deep-freeze';
import mockRest from 'test-utils/MockRest.js';
import Configuration from 'sdc-app/config/Configuration.js';
@@ -72,7 +72,7 @@ describe('Versions Page Module Tests', () => {
const additionalProps = VersionsPageAdditionalPropsFactory.build();
const props = Object.assign({}, mapStateToProps(state), mapActionsToProps(dispatch, additionalProps));
- const renderer = new ShallowRenderer();
+ var renderer = TestUtils.createRenderer();
renderer.render(<VersionsPageView {...props} />);
const renderedOutput = renderer.getRenderOutput();