From 9e82c5a3d192c9557c7549becf172e1f37e2dec9 Mon Sep 17 00:00:00 2001 From: JulienBe Date: Wed, 1 Apr 2020 17:40:42 +0200 Subject: Remove unused objects reported by Sonar Issue-ID: CLAMP-806 Signed-off-by: JulienBe Change-Id: Ia3d6939e1f946280551583a777032efe63e12e01 --- ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js | 1 - ui-react/src/components/dialogs/Tosca/ViewToscaPolicyModal.test.js | 1 - 2 files changed, 2 deletions(-) (limited to 'ui-react/src/components/dialogs/Tosca') 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(); 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(); expect(myMockFunc.mock.calls.length).toBe(1); }); -- cgit 1.2.3-korg