feat: add withDirectives in .jest

This commit is contained in:
Amour1688 2020-05-24 10:29:20 +08:00
parent ae18223861
commit 547d817a73

View File

@ -1,9 +1,10 @@
const { h, mergeProps } = require('vue');
const { h, mergeProps, withDirectives } = require('vue');
module.exports = {
globals: {
'_h': h,
'_mergeProps': mergeProps
'_mergeProps': mergeProps,
'_withDirectives': withDirectives
},
setupFiles: ['./test/setup.js'],
}