diff options
author | winh <winnie@gitlab.com> | 2017-06-22 13:11:05 +0200 |
---|---|---|
committer | winh <winnie@gitlab.com> | 2017-06-22 20:21:54 +0200 |
commit | 1a58170bd4634753d8c96393744093e79caf0460 (patch) | |
tree | af0c33f92cd9a6a7e9e0d2bc74cbca7c70ecd215 /spec/javascripts | |
parent | 8cc9ab50179cd6842ca6cd092ba391f0a6145945 (diff) | |
download | gitlab-ce-1a58170bd4634753d8c96393744093e79caf0460.tar.gz |
Suppress Vue tips when running Karmawinh-karma-suppress-vue-tips
Diffstat (limited to 'spec/javascripts')
-rw-r--r-- | spec/javascripts/test_bundle.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/javascripts/test_bundle.js b/spec/javascripts/test_bundle.js index f0d51bd0902..7637494cf8b 100644 --- a/spec/javascripts/test_bundle.js +++ b/spec/javascripts/test_bundle.js @@ -7,6 +7,10 @@ import '~/commons'; import Vue from 'vue'; import VueResource from 'vue-resource'; +const isHeadlessChrome = /\bHeadlessChrome\//.test(navigator.userAgent); +Vue.config.devtools = !isHeadlessChrome; +Vue.config.productionTip = false; + Vue.use(VueResource); // enable test fixtures |