1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-22 17:23:50 +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)