aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src
diff options
context:
space:
mode:
Diffstat (limited to 'ui-react/src')
-rw-r--r--ui-react/src/components/dialogs/ManageDictionaries/ManageDictionaries.test.js2
-rw-r--r--ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js4
-rw-r--r--ui-react/src/components/dialogs/Tosca/ViewToscaPolicyModal.test.js4
3 files changed, 5 insertions, 5 deletions
diff --git a/ui-react/src/components/dialogs/ManageDictionaries/ManageDictionaries.test.js b/ui-react/src/components/dialogs/ManageDictionaries/ManageDictionaries.test.js
index 3a45153e..13a6035a 100644
--- a/ui-react/src/components/dialogs/ManageDictionaries/ManageDictionaries.test.js
+++ b/ui-react/src/components/dialogs/ManageDictionaries/ManageDictionaries.test.js
@@ -74,7 +74,7 @@ describe('Verify ManageDictionaries', () => {
it('Test API Rejection', () => {
const myMockFunc = fetch.mockImplementationOnce(() => Promise.reject('error'));
setTimeout( () => myMockFunc().catch(e => {
- console.log(e);
+ console.info(e);
}),
100
);
diff --git a/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js b/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js
index e11d86f5..1a6cc195 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
+ });
diff --git a/ui-react/src/components/dialogs/Tosca/ViewToscaPolicyModal.test.js b/ui-react/src/components/dialogs/Tosca/ViewToscaPolicyModal.test.js
index 29127ed5..a599cec0 100644
--- a/ui-react/src/components/dialogs/Tosca/ViewToscaPolicyModal.test.js
+++ b/ui-react/src/components/dialogs/Tosca/ViewToscaPolicyModal.test.js
@@ -78,7 +78,7 @@ describe('Verify ViewToscaPolicyModal', () => {
setTimeout(
() =>
myMockFunc().catch(e => {
- console.log(e);
+ console.info(e);
}),
100
);
@@ -192,4 +192,4 @@ describe('Verify ViewToscaPolicyModal', () => {
expect(historyMock.push.mock.calls[0]).toEqual([ '/']);
handleClose.mockClear();
});
-}); \ No newline at end of file
+});