woocommerce/plugins/woocommerce-blocks/tests/js/jestPreprocess.js

6 lines
152 B
JavaScript

const babelOptions = {
presets: [ '@wordpress/babel-preset-default' ],
};
module.exports = require( 'babel-jest' ).createTransformer( babelOptions );