From 0cde2b5f4b7d769dec74667d963138e858588ef3 Mon Sep 17 00:00:00 2001 From: JulienBe Date: Fri, 3 Apr 2020 13:21:13 +0200 Subject: Move to console.info in tests to please Sonar Issue-ID: CLAMP-806 Signed-off-by: JulienBe Change-Id: Ia09874acfa7237f0a920f0327e6e2d76eb61fb2a --- ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js') diff --git a/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js b/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js index e11d86f53..1a6cc1959 100644 --- a/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js +++ b/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js @@ -73,7 +73,7 @@ describe('Verify ViewLoopTemplatesModal', () => { it('Test API Rejection', () => { const myMockFunc = fetch.mockImplementationOnce(() => Promise.reject('error')); setTimeout( () => myMockFunc().catch(e => { - console.log(e); + console.info(e); }), 100 ); @@ -158,4 +158,4 @@ describe('Verify ViewLoopTemplatesModal', () => { expect(historyMock.push.mock.calls[0]).toEqual([ '/']); handleClose.mockClear(); }); - }); \ No newline at end of file + }); -- cgit 1.2.3-korg