mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 03:05:07 +08:00
11 lines
269 B
JavaScript
11 lines
269 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
|
|
});
|