diff options
Diffstat (limited to 'openecomp-ui/test/softwareProduct/components/compute/SoftwareProductComponentsComputes.test.js')
-rw-r--r-- | openecomp-ui/test/softwareProduct/components/compute/SoftwareProductComponentsComputes.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-ui/test/softwareProduct/components/compute/SoftwareProductComponentsComputes.test.js b/openecomp-ui/test/softwareProduct/components/compute/SoftwareProductComponentsComputes.test.js index f48a19af18..f3801beb40 100644 --- a/openecomp-ui/test/softwareProduct/components/compute/SoftwareProductComponentsComputes.test.js +++ b/openecomp-ui/test/softwareProduct/components/compute/SoftwareProductComponentsComputes.test.js @@ -16,7 +16,7 @@ import deepFreeze from 'deep-freeze'; import React from 'react'; -import ShallowRenderer from 'react-test-renderer/shallow'; +import TestUtils from 'react-addons-test-utils'; import {storeCreator} from 'sdc-app/AppStore.js'; import ComputeFlavors from 'sdc-app/onboarding/softwareProduct/components/compute/computeComponents/ComputeFlavors.js'; import {ComputeFlavorBaseData} from 'test-utils/factories/softwareProduct/SoftwareProductComponentsComputeFactory.js'; @@ -32,7 +32,7 @@ describe('Software Product Component ComputeFlavors - View Classes.', () => { const ComputeFlavorsList = ComputeFlavorBaseData.buildList(1); - const renderer = new ShallowRenderer(); + var renderer = TestUtils.createRenderer(); renderer.render( <ComputeFlavors store={store} |