mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
13 lines
331 B
JavaScript
13 lines
331 B
JavaScript
import { createLocalVue } from '@vue/test-utils'
|
|
import Vue from 'vue'
|
|
import { BootstrapVue } from 'bootstrap-vue'
|
|
|
|
global.localVue = createLocalVue()
|
|
|
|
global.localVue.use(BootstrapVue)
|
|
|
|
// throw errors for vue warnings to force the programmers to take care about warnings
|
|
Vue.config.warnHandler = (w) => {
|
|
throw new Error(w)
|
|
}
|