summaryrefslogtreecommitdiffstats
path: root/ui-react/src
diff options
context:
space:
mode:
authorSébastien Determe <sebastien.determe@intl.att.com>2019-08-21 13:37:20 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-21 13:37:20 +0000
commitb54c22cf12ebf4fda895e2b21d00cfac294447d7 (patch)
treeb7e969732ee1bff6682f8e245ec6566bb12db39b /ui-react/src
parentf9e2ceeae29504505f631086e612fad4e1e16979 (diff)
parent4aedf73ee896f8bac3dce6d728cb40a9519b76d7 (diff)
Merge "Changes to support npm publish of reactjs components"
Diffstat (limited to 'ui-react/src')
-rw-r--r--ui-react/src/__test__/LoopCache.test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui-react/src/__test__/LoopCache.test.js b/ui-react/src/__test__/LoopCache.test.js
index e5b50259..101f864a 100644
--- a/ui-react/src/__test__/LoopCache.test.js
+++ b/ui-react/src/__test__/LoopCache.test.js
@@ -77,7 +77,7 @@ describe('Verify LoopCache functions', () => {
expect(loopCache.getDcaeDeploymentProperties()).toStrictEqual(deploymentProp);
});
- it('getMicroServicesJsonForType', () => {
+ it('getMicroServiceForName', () => {
const msJson = {
"name": "TCA_h2NMX_v1_0_ResourceInstanceName1_tca",
"modelType": "onap.policies.monitoring.cdap.tca.hi.lo.app",
@@ -89,7 +89,7 @@ describe('Verify LoopCache functions', () => {
expect(loopCache.getMicroServicesJsonForType("TCA_h2NMX_v1_0_ResourceInstanceName1_tca_2")).toBeNull();
});
- it('getMicroServiceProperties', () => {
+ it('getMicroServicePropertiesForName', () => {
const msProp = {"domain": "measurementsForVfScaling"};
expect(loopCache.getMicroServiceProperties("TCA_h2NMX_v1_0_ResourceInstanceName1_tca")).toStrictEqual(msProp);
expect(loopCache.getMicroServiceProperties("TCA_h2NMX_v1_0_ResourceInstanceName1_tca_2")).toBeNull();
@@ -100,7 +100,7 @@ describe('Verify LoopCache functions', () => {
expect(loopCache.getMicroServiceJsonRepresentationForType("TCA_h2NMX_v1_0_ResourceInstanceName1_tca")).toStrictEqual(msJsonRepresentation);
});
- it('getMicroServiceJsonRepresentationForType', () => {
+ it('getMicroServiceJsonRepresentationForName', () => {
const msJsonRepresentation = {"schema": {}};
expect(loopCache.getMicroServiceJsonRepresentationForType("TCA_h2NMX_v1_0_ResourceInstanceName1_tca")).toStrictEqual(msJsonRepresentation);
});