From 4e8d075383661da42c5a45579fd42fe2dce59541 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Tue, 3 Apr 2018 14:43:56 +0200 Subject: [PATCH] Speed up tests (#4102) --- .babelrc | 13 +------------ test/.babelrc | 9 +++++++++ 2 files changed, 10 insertions(+), 12 deletions(-) create mode 100644 test/.babelrc diff --git a/.babelrc b/.babelrc index 3d0c1e5e..44642072 100644 --- a/.babelrc +++ b/.babelrc @@ -8,16 +8,5 @@ "@babel/plugin-proposal-object-rest-spread", "@babel/plugin-proposal-class-properties", "@babel/plugin-transform-runtime" - ], - "env": { - "test": { - "presets": [ - ["./babel", { - "preset-env": { - "modules": "commonjs" - } - }] - ] - } - } + ] } diff --git a/test/.babelrc b/test/.babelrc new file mode 100644 index 00000000..27c7237a --- /dev/null +++ b/test/.babelrc @@ -0,0 +1,9 @@ +{ + "presets": [ + ["next/babel", { + "preset-env": { + "modules": "commonjs" + } + }] + ] +} \ No newline at end of file