Merge branch 'DRVWEB-4405-support-signed-upload-public-page' into 'main'
[ProtonMail-WebClient.git] / applications / docs-editor / jest.transform.js
blobdd1facd44ef9143d4f5cfb5989eb7955daa5223e
1 // Custom Jest transform implementation that injects test-specific babel presets.
2 module.exports = require('babel-jest').default.createTransformer({
3   presets: ['@babel/preset-env', ['@babel/preset-react', { runtime: 'automatic' }], '@babel/preset-typescript'],
4   plugins: [
5     '@babel/plugin-proposal-object-rest-spread',
6     '@babel/plugin-transform-runtime',
7     '@babel/plugin-proposal-optional-chaining',
8     'transform-class-properties',
9     'transform-require-context',
10   ],