summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui-react/src/components/dialogs/ManageDictionaries/ManageDictionaries.test.js1
-rw-r--r--ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js1
-rw-r--r--ui-react/src/components/dialogs/Tosca/ViewToscaPolicyModal.test.js1
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 4363da923..3a45153e9 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 ddfb2a70c..e11d86f53 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 952e88867..29127ed55 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);
});