UNPKG

513 BJavaScriptView Raw
1// @remove-file-on-eject
2/**
3 * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
4 *
5 * This source code is licensed under the BSD-style license found in the
6 * LICENSE file in the root directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
8 */
9'use strict';
10
11const babelJest = require('babel-jest');
12
13module.exports = babelJest.createTransformer({
14 presets: [require.resolve('babel-preset-react-app')],
15 babelrc: false,
16});