regexper-static/jest/preprocess.js

7 lines
170 B
JavaScript
Raw Normal View History

2019-01-04 23:38:49 +00:00
const babelOptions = {
2019-01-15 22:46:43 +00:00
presets: ['babel-preset-gatsby'],
plugins: ['dynamic-import-node']
2019-01-04 23:38:49 +00:00
};
module.exports = require('babel-jest').createTransformer(babelOptions);