From 8d0a772fa36ddcd13be7264fb1789aed3973e10b Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 8 Jan 2018 20:34:52 +0800 Subject: [PATCH] Fix jest babel config --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e3c265f3..58619268 100755 --- a/package.json +++ b/package.json @@ -86,8 +86,8 @@ }, "babel": { "presets": [ - "@babel/env", - "@babel/react" + "@babel/preset-env", + "@babel/preset-react" ], "plugins": [ "transform-decorators-legacy",