module.exports = {
  presets: ['@babel/env', '@babel/typescript', '@babel/react'],
  env: {
    test: {
      presets: [
        [
          '@babel/preset-env',
          {
            targets: {
              node: 'current',
            },
          },
        ],
      ],
      plugins: ['require-context-hook'],
    },
  },
};