Skip to content

Commit f4fc35a

Browse files
committed
fix test runtime
1 parent b8af55a commit f4fc35a

File tree

3 files changed

+1672
-1287
lines changed

3 files changed

+1672
-1287
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"presets": ["react-native"]
2+
"presets": ["module:metro-react-native-babel-preset"]
33
}

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,15 @@
5151
"@babel/plugin-proposal-class-properties": "^7.3.0",
5252
"@babel/preset-env": "^7.3.1",
5353
"@babel/preset-react": "^7.0.0",
54+
"@babel/runtime": "^7.3.1",
5455
"babel-eslint": "^7.2.3",
55-
"babel-jest": "^20.0.1",
56+
"babel-jest": "^24.1.0",
5657
"babel-polyfill": "^6.23.0",
5758
"chai": "^3.5.0",
5859
"eslint": "^3.19.0",
5960
"eslint-plugin-react": "^7.0.0",
6061
"jasmine-reporters": "^2.1.1",
61-
"jest-cli": "^20.0.1",
62+
"jest-cli": "^24.1.0",
6263
"metro-react-native-babel-preset": "^0.51.1",
6364
"mocha": "^3.3.0",
6465
"prop-types": "^15.5.10",
@@ -72,5 +73,6 @@
7273
"rollup-plugin-replace": "^2.1.0",
7374
"sinon": "^2.2.0"
7475
},
75-
"dependencies": {}
76+
"dependencies": {
77+
}
7678
}

0 commit comments

Comments
 (0)