mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2024-11-10 09:39:14 +08:00
feat: add withDirectives in .jest
This commit is contained in:
parent
ae18223861
commit
547d817a73
5
.jest.js
5
.jest.js
@ -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'],
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user