commit | 0cde2b5f4b7d769dec74667d963138e858588ef3 | [log] [tgz] |
---|---|---|
author | JulienBe <jb379x@att.com> | Fri Apr 03 13:21:13 2020 +0200 |
committer | JulienBe <jb379x@att.com> | Fri Apr 03 13:21:13 2020 +0200 |
tree | 620678516f9f54fc121f524b72cd2759e77a2e58 | |
parent | a17bc380882ea4b8899689b8e28538e09d146e63 [diff] [blame] |
Move to console.info in tests to please Sonar Issue-ID: CLAMP-806 Signed-off-by: JulienBe <jb379x@att.com> Change-Id: Ia09874acfa7237f0a920f0327e6e2d76eb61fb2a
diff --git a/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js b/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js index e11d86f..1a6cc19 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 @@ 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 @@ expect(historyMock.push.mock.calls[0]).toEqual([ '/']); handleClose.mockClear(); }); - }); \ No newline at end of file + });