regexper-static/jest/preprocess.js
2019-01-15 17:46:43 -05:00

7 lines
170 B
JavaScript

const babelOptions = {
presets: ['babel-preset-gatsby'],
plugins: ['dynamic-import-node']
};
module.exports = require('babel-jest').createTransformer(babelOptions);