mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
Disable console output in unit test
This commit is contained in:
parent
0423bef836
commit
8d23a14c79
@ -5,6 +5,8 @@ window.blessing = {
|
|||||||
base_url: ''
|
base_url: ''
|
||||||
};
|
};
|
||||||
|
|
||||||
|
console.log = console.warn = console.error = () => {};
|
||||||
|
|
||||||
Vue.prototype.$t = key => key;
|
Vue.prototype.$t = key => key;
|
||||||
|
|
||||||
Vue.directive('t', (el, { value }) => {
|
Vue.directive('t', (el, { value }) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user