Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-02-20 23:26:44 +0300
committerWinnie Hellmann <winnie@gitlab.com>2019-02-21 13:02:31 +0300
commit8d74aab4289fb7a050e0163bf1affa9e62bb079e (patch)
tree0bb0826e0f037c4bfa032ec217fb8d145ac4edd0 /spec/frontend
parent0e619d01b0fbe3234f7983b9f012bb25715e142a (diff)
Load i18n Vue plugin for Jest tests
Diffstat (limited to 'spec/frontend')
-rw-r--r--spec/frontend/test_setup.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/frontend/test_setup.js b/spec/frontend/test_setup.js
index 4e4dd72a799..d892889b98d 100644
--- a/spec/frontend/test_setup.js
+++ b/spec/frontend/test_setup.js
@@ -1,3 +1,5 @@
+import Vue from 'vue';
+import Translate from '~/vue_shared/translate';
import axios from '~/lib/utils/axios_utils';
const testTimeoutInMs = 300;
@@ -28,3 +30,5 @@ beforeEach(done => {
done();
});
+
+Vue.use(Translate);