From aa2eece0e8559be66454b757cae4bbccb59ea828 Mon Sep 17 00:00:00 2001 From: svishnev Date: Thu, 18 Jan 2018 17:52:06 +0200 Subject: react-version-downgrade Issue-ID: SDC-943 Change-Id: Ief0b0cf4f21a8c739521ecd869b48f8ad69fcb0f Signed-off-by: svishnev --- .../test/licenseModel/creation/LicenseModelCreation.test.js | 4 ++-- .../featureGroups/LicenseModelFeatureGroupEditor.test.js | 2 +- .../featureGroups/LicenseModelFeatureGroupListEditor.test.js | 2 +- .../test/licenseModel/overview/listItems/EntitlementPool.test.js | 2 +- .../test/licenseModel/overview/listItems/FeatureGroup.test.js | 2 +- .../test/licenseModel/overview/listItems/LicenseAgreement.test.js | 2 +- .../test/licenseModel/overview/listItems/LicenseKeyGroup.test.js | 2 +- .../test/licenseModel/overview/summary/SummaryCountList.test.js | 2 +- .../test/licenseModel/overview/summary/VendorDataView.test.js | 2 +- openecomp-ui/test/licenseModel/overview/views.test.js | 8 ++++---- 10 files changed, 14 insertions(+), 14 deletions(-) (limited to 'openecomp-ui/test/licenseModel') diff --git a/openecomp-ui/test/licenseModel/creation/LicenseModelCreation.test.js b/openecomp-ui/test/licenseModel/creation/LicenseModelCreation.test.js index 9c8043b943..9537ea2e2f 100644 --- a/openecomp-ui/test/licenseModel/creation/LicenseModelCreation.test.js +++ b/openecomp-ui/test/licenseModel/creation/LicenseModelCreation.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/licenseModel/creation/LicenseModelCreation.js'; import LicenseModelCreationView from 'sdc-app/onboarding/licenseModel/creation/LicenseModelCreationView.jsx'; import {LicenseModelCreationFactory} from 'test-utils/factories/licenseModel/LicenseModelFactories.js'; @@ -66,7 +66,7 @@ describe('License Model Creation Module Tests', function() { it('simple jsx test', () => { let data = LicenseModelCreationFactory.build(); - const renderer = new ShallowRenderer(); + var renderer = TestUtils.createRenderer(); renderer.render( { - const renderer = new ShallowRenderer(); + var renderer = TestUtils.createRenderer(); renderer.render( ); @@ -61,7 +61,7 @@ describe('License Model Overview - View: ', function () { selectedTab: selectedButton.VLM_LIST_VIEW, onTabSelect: () => {} }; - const renderer = new ShallowRenderer(); + var renderer = TestUtils.createRenderer(); renderer.render( ); -- cgit 1.2.3-korg