diff --git a/babel.config.js b/babel.config.js index 3278d91e..262f8aee 100644 --- a/babel.config.js +++ b/babel.config.js @@ -18,7 +18,14 @@ module.exports = { env: { test: { presets: [ - '@babel/preset-env', + [ + '@babel/preset-env', + { + targets: { + node: 'current', + }, + }, + ], ], }, },