1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-15 17:45:31 +01:00
blog/jest/jest-preprocess.js

8 lines
191 B
JavaScript

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