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 | |
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')
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 4363da92..3a45153e 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 ddfb2a70..e11d86f5 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 952e8886..29127ed5 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); }); |