From 8b6cbcd1db88649212234322e73ee0bd5f04e400 Mon Sep 17 00:00:00 2001 From: Matthew Francis Brunetti Date: Mon, 11 Mar 2019 11:33:00 -0300 Subject: [PATCH] chore(package): Upgrade Jest to v24 (#81) --- .babelrc | 7 ++++++- package.json | 4 +++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.babelrc b/.babelrc index 8631d8f..adfa943 100644 --- a/.babelrc +++ b/.babelrc @@ -2,5 +2,10 @@ "presets": [ ["@babel/preset-env"], ["@babel/preset-react"] - ] + ], + "env": { + "test": { + "plugins": ["@babel/plugin-transform-runtime"] + } + } } diff --git a/package.json b/package.json index 3db91cf..68488d1 100644 --- a/package.json +++ b/package.json @@ -52,14 +52,16 @@ }, "devDependencies": { "@babel/core": "^7.2.2", + "@babel/plugin-transform-runtime": "^7.2.0", "@babel/preset-env": "^7.3.1", "@babel/preset-react": "^7.0.0", + "@babel/runtime": "^7.3.1", "@semantic-release/changelog": "^3.0.1", "@semantic-release/git": "^7.0.5", "@types/react": "^16.0.40", "babel-core": "^7.0.0-bridge.0", "coveralls": "^3.0.0", - "jest": "^23.6.0", + "jest": "^24.1.0", "npm-run-all": "^4.1.2", "react": "^16.2.0", "react-dom": "^16.2.0",