diff options
Diffstat (limited to 'openecomp-ui/test/softwareProduct/processes/SoftwareProductProcessesView.test.js')
-rw-r--r-- | openecomp-ui/test/softwareProduct/processes/SoftwareProductProcessesView.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-ui/test/softwareProduct/processes/SoftwareProductProcessesView.test.js b/openecomp-ui/test/softwareProduct/processes/SoftwareProductProcessesView.test.js index 7e8ff903f5..345c46999b 100644 --- a/openecomp-ui/test/softwareProduct/processes/SoftwareProductProcessesView.test.js +++ b/openecomp-ui/test/softwareProduct/processes/SoftwareProductProcessesView.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} from 'sdc-app/onboarding/softwareProduct/processes/SoftwareProductProcesses.js'; import SoftwareProductProcessesView from 'sdc-app/onboarding/softwareProduct/processes/SoftwareProductProcessesView.jsx'; @@ -56,7 +56,7 @@ describe('SoftwareProductProcesses Mapper and View Classes', () => { const versionControllerData = VSPComponentsVersionControllerFactory.build(); - const renderer = new ShallowRenderer(); + var renderer = TestUtils.createRenderer(); renderer.render( <SoftwareProductProcessesView processesList={processesList} |