2021-02-01 20:02:02 +08:00

8 lines
199 B
JavaScript

const babelJest = require('babel-jest');
module.exports = babelJest.createTransformer({
presets: [require.resolve('@umijs/babel-preset-umi/node')],
babelrc: false,
configFile: false
});