Commit 8d74aab4 authored by Winnie Hellmann's avatar Winnie Hellmann

Load i18n Vue plugin for Jest tests

parent 0e619d01
import Vue from 'vue';
import Translate from '~/vue_shared/translate';
import axios from '~/lib/utils/axios_utils'; import axios from '~/lib/utils/axios_utils';
const testTimeoutInMs = 300; const testTimeoutInMs = 300;
...@@ -28,3 +30,5 @@ beforeEach(done => { ...@@ -28,3 +30,5 @@ beforeEach(done => {
done(); done();
}); });
Vue.use(Translate);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment