2021-02-02 13:08:03 +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
});