aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components
diff options
context:
space:
mode:
authorJulienBe <jb379x@att.com>2020-04-01 17:40:42 +0200
committerJulienBe <jb379x@att.com>2020-04-01 17:40:42 +0200
commit9e82c5a3d192c9557c7549becf172e1f37e2dec9 (patch)
tree12a4865d35b3ef3e8ef3fb18c7c553a99e0ee33c /ui-react/src/components
parent45787c2471e689e6ca63419bd31db647afe954d6 (diff)
Remove unused objects
reported by Sonar Issue-ID: CLAMP-806 Signed-off-by: JulienBe <jb379x@att.com> Change-Id: Ia3d6939e1f946280551583a777032efe63e12e01
Diffstat (limited to 'ui-react/src/components')
-rw-r--r--ui-react/src/components/dialogs/ManageDictionaries/ManageDictionaries.test.js1
-rw-r--r--ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js1
-rw-r--r--ui-react/src/components/dialogs/Tosca/ViewToscaPolicyModal.test.js1
3 files changed, 0 insertions, 3 deletions
diff --git a/ui-react/src/components/dialogs/ManageDictionaries/ManageDictionaries.test.js b/ui-react/src/components/dialogs/ManageDictionaries/ManageDictionaries.test.js
index 4363da923..3a45153e9 100644
--- a/ui-react/src/components/dialogs/ManageDictionaries/ManageDictionaries.test.js
+++ b/ui-react/src/components/dialogs/ManageDictionaries/ManageDictionaries.test.js
@@ -78,7 +78,6 @@ describe('Verify ManageDictionaries', () => {
}),
100
);
- new Promise(resolve => setTimeout(resolve, 200));
const component = shallow(<ManageDictionaries />);
expect(myMockFunc.mock.calls.length).toBe(1);
});
diff --git a/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js b/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js
index ddfb2a70c..e11d86f53 100644
--- a/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js
+++ b/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js
@@ -77,7 +77,6 @@ describe('Verify ViewLoopTemplatesModal', () => {
}),
100
);
- new Promise(resolve => setTimeout(resolve, 200));
const component = shallow(<ViewLoopTemplatesModal/>);
expect(myMockFunc.mock.calls.length).toBe(1);
});
diff --git a/ui-react/src/components/dialogs/Tosca/ViewToscaPolicyModal.test.js b/ui-react/src/components/dialogs/Tosca/ViewToscaPolicyModal.test.js
index 952e88867..29127ed55 100644
--- a/ui-react/src/components/dialogs/Tosca/ViewToscaPolicyModal.test.js
+++ b/ui-react/src/components/dialogs/Tosca/ViewToscaPolicyModal.test.js
@@ -82,7 +82,6 @@ describe('Verify ViewToscaPolicyModal', () => {
}),
100
);
- new Promise(resolve => setTimeout(resolve, 200));
const component = shallow(<ViewToscaPolicyModal/>);
expect(myMockFunc.mock.calls.length).toBe(1);
});