github-pages-deploy-action/node_modules/babel-preset-jest/index.js

14 lines
371 B
JavaScript
Raw Normal View History

2019-11-19 20:48:29 +08:00
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = () => ({
plugins: [
require.resolve('babel-plugin-jest-hoist'),
require.resolve('@babel/plugin-syntax-object-rest-spread'),
],
});