diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-02-20 21:26:44 +0100 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2019-02-21 11:02:31 +0100 |
commit | 8d74aab4289fb7a050e0163bf1affa9e62bb079e (patch) | |
tree | 0bb0826e0f037c4bfa032ec217fb8d145ac4edd0 | |
parent | 0e619d01b0fbe3234f7983b9f012bb25715e142a (diff) | |
download | gitlab-ce-8d74aab4289fb7a050e0163bf1affa9e62bb079e.tar.gz |
Load i18n Vue plugin for Jest tests
-rw-r--r-- | spec/frontend/test_setup.js | 4 |
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); |