diff options
Diffstat (limited to 'openecomp-ui/test/versionsPage/creation/VersionsPageCreation.test.js')
-rw-r--r-- | openecomp-ui/test/versionsPage/creation/VersionsPageCreation.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-ui/test/versionsPage/creation/VersionsPageCreation.test.js b/openecomp-ui/test/versionsPage/creation/VersionsPageCreation.test.js index b6c7b0919a..78e8124f74 100644 --- a/openecomp-ui/test/versionsPage/creation/VersionsPageCreation.test.js +++ b/openecomp-ui/test/versionsPage/creation/VersionsPageCreation.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 {mapStateToProps, mapActionsToProps} from 'sdc-app/onboarding/versionsPage/creation/VersionsPageCreation.js'; import {VERSION_CREATION_FORM_NAME} from 'sdc-app/onboarding/versionsPage/creation/VersionsPageCreationConstants.js'; import VersionsPageCreationActionHelper from 'sdc-app/onboarding/versionsPage/creation/VersionsPageCreationActionHelper.js'; @@ -92,7 +92,7 @@ describe('Versions Page Creation Module Tests', function() { }; const props = Object.assign({}, mapStateToProps(state), mapActionsToProps(dispatch, additionalProps), additionalProps); - const renderer = new ShallowRenderer(); + var renderer = TestUtils.createRenderer(); renderer.render(<VersionsPageCreationView {...props} />); const renderedOutput = renderer.getRenderOutput(); |