The assignment of $appConfig (and maybe other properties) on Vue.prototype directly inside unit tests is considered bad practice. We should create a local Vue instance and assign to this local instance in place of the global one.
At least affects LocaleSwitcher.spec.js and Locale.spec.js.
The assignment of
$appConfig
(and maybe other properties) onVue.prototype
directly inside unit tests is considered bad practice. We should create a localVue
instance and assign to this local instance in place of the global one.At least affects
LocaleSwitcher.spec.js
andLocale.spec.js
.Found in #387 by @sronveaux