Updating NPM dependencies

This commit is contained in:
Drew Heavner
2020-11-11 13:30:52 +00:00
committed by GitHub
parent 7a6fb66c63
commit bd487ef324
9068 changed files with 1400893 additions and 587661 deletions

View File

@@ -5,9 +5,10 @@
* 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'),
],
});
const jestPreset = {
plugins: [require.resolve('babel-plugin-jest-hoist')],
presets: [require.resolve('babel-preset-current-node-syntax')],
};
// @babel/core requires us to export a function
module.exports = () => jestPreset;