katoikia-app/web-ui/web-react/node_modules/react-scripts/config/jest/babelTransform.js

17 lines
411 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
// @remove-file-on-eject
/**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
const babelJest = require('babel-jest');
module.exports = babelJest.createTransformer({
presets: [require.resolve('babel-preset-react-app')],
babelrc: false,
configFile: false,
});