diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-07-02 19:42:04 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-07-02 19:42:04 +0300 |
commit | c2de7429a93fd5f8db9adf9ccd9b1e7a1ce08e2d (patch) | |
tree | 5de07216d0d6fedc308b19dcf956fed21498fb77 /babel.config.js | |
parent | be645bec19f42d29e48f516788191fa06845a182 (diff) |
Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'babel.config.js')
-rw-r--r-- | babel.config.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/babel.config.js b/babel.config.js index 28317fcdd..58c179730 100644 --- a/babel.config.js +++ b/babel.config.js @@ -10,7 +10,16 @@ module.exports = { ], env: { test: { - plugins: ["transform-es2015-modules-commonjs"] + presets: [ + [ + "@babel/preset-env", + { + "targets": { + "node": "current" + } + } + ] + ] } } } |