Disable console output in unit test
This commit is contained in:
parent
0423bef836
commit
8d23a14c79
|
|
@ -5,6 +5,8 @@ window.blessing = {
|
|||
base_url: ''
|
||||
};
|
||||
|
||||
console.log = console.warn = console.error = () => {};
|
||||
|
||||
Vue.prototype.$t = key => key;
|
||||
|
||||
Vue.directive('t', (el, { value }) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user