mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 19:41:57 +08:00
9 lines
256 B
JavaScript
9 lines
256 B
JavaScript
const babelJest = require('babel-jest').default;
|
|
|
|
module.exports = babelJest.createTransformer({
|
|
presets: [['@babel/preset-env', { targets: { node: 'current' } }]],
|
|
plugins: ['@vue/babel-plugin-jsx'],
|
|
babelrc: false,
|
|
configFile: false,
|
|
});
|