mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-07-04 11:03:29 +08:00
feat: add withDirectives in .jest
This commit is contained in:
5
.jest.js
5
.jest.js
@ -1,9 +1,10 @@
|
|||||||
const { h, mergeProps } = require('vue');
|
const { h, mergeProps, withDirectives } = require('vue');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
globals: {
|
globals: {
|
||||||
'_h': h,
|
'_h': h,
|
||||||
'_mergeProps': mergeProps
|
'_mergeProps': mergeProps,
|
||||||
|
'_withDirectives': withDirectives
|
||||||
},
|
},
|
||||||
setupFiles: ['./test/setup.js'],
|
setupFiles: ['./test/setup.js'],
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user