summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorEnrique Alcántara <ealcantara@gitlab.com>2019-04-08 07:31:27 +0000
committerPhil Hughes <me@iamphill.com>2019-04-08 07:31:27 +0000
commitbe8997ca7c504a9f7fc0821c1b014d9260e00b14 (patch)
tree5b39381c5121c56c4831fa4e3cc682fc9de81814 /app
parent20e93beb74f7faf885de359883c6f7b4fc2dc011 (diff)
downloadgitlab-ce-be8997ca7c504a9f7fc0821c1b014d9260e00b14.tar.gz
Migrate clusters tests to jest
Move cluster applications manager tests from karma to jest. Fixes some migration issues related with timeouts, and HTTP request expectations.
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/clusters/clusters_bundle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/clusters/clusters_bundle.js b/app/assets/javascripts/clusters/clusters_bundle.js
index a88e4b7b314..df855261b3c 100644
--- a/app/assets/javascripts/clusters/clusters_bundle.js
+++ b/app/assets/javascripts/clusters/clusters_bundle.js
@@ -262,7 +262,7 @@ export default class Clusters {
this.store.updateAppProperty(appId, 'requestReason', null);
this.store.updateAppProperty(appId, 'statusReason', null);
- this.service.installApplication(appId, data.params).catch(() => {
+ return this.service.installApplication(appId, data.params).catch(() => {
this.store.updateAppProperty(appId, 'requestStatus', REQUEST_FAILURE);
this.store.updateAppProperty(
appId,