diff options
author | JulienBe <jb379x@att.com> | 2020-04-01 17:40:42 +0200 |
---|---|---|
committer | JulienBe <jb379x@att.com> | 2020-04-01 17:40:42 +0200 |
commit | 9e82c5a3d192c9557c7549becf172e1f37e2dec9 (patch) | |
tree | 12a4865d35b3ef3e8ef3fb18c7c553a99e0ee33c /ui-react/src/components/dialogs/Tosca | |
parent | 45787c2471e689e6ca63419bd31db647afe954d6 (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/dialogs/Tosca')
-rw-r--r-- | ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js | 1 | ||||
-rw-r--r-- | ui-react/src/components/dialogs/Tosca/ViewToscaPolicyModal.test.js | 1 |
2 files changed, 0 insertions, 2 deletions
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); }); |