Skip to content
Snippets Groups Projects
Commit 1a58170b authored by Winnie Hellmann's avatar Winnie Hellmann
Browse files

Suppress Vue tips when running Karma

parent 8cc9ab50
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment