1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-25 02:36:16 +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)