Update test
This commit is contained in:
parent
862468f51f
commit
3946314ae0
@ -6,10 +6,6 @@ import swal from 'sweetalert2';
|
||||
jest.mock('axios');
|
||||
jest.mock('sweetalert2');
|
||||
|
||||
window.blessing = {
|
||||
base_url: ''
|
||||
};
|
||||
|
||||
function factory(opt = {}) {
|
||||
return {
|
||||
tid: 1,
|
||||
|
@ -1,6 +1,10 @@
|
||||
import 'jest-extended';
|
||||
import Vue from 'vue';
|
||||
|
||||
window.blessing = {
|
||||
base_url: ''
|
||||
};
|
||||
|
||||
Vue.prototype.$t = key => key;
|
||||
|
||||
Vue.directive('t', (el, { value }) => {
|
||||
|
Loading…
Reference in New Issue
Block a user