瀏覽代碼

Fix jest babel config

afc163 8 年之前
父節點
當前提交
8d0a772fa3
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      package.json

+ 2 - 2
package.json

@@ -86,8 +86,8 @@
   },
   },
   "babel": {
   "babel": {
     "presets": [
     "presets": [
-      "@babel/env",
-      "@babel/react"
+      "@babel/preset-env",
+      "@babel/preset-react"
     ],
     ],
     "plugins": [
     "plugins": [
       "transform-decorators-legacy",
       "transform-decorators-legacy",