Skip to content

Commit 096c0c1

Browse files
authored
Merge pull request #2622 from StoDevX/jest-upgrade
Upgrade to Jest 23
2 parents 0de5968 + 9c678aa commit 096c0c1

File tree

3 files changed

+742
-256
lines changed

3 files changed

+742
-256
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
- run: yarn install --frozen-lockfile
154154
- run: mkdir -p logs/ test-results/jest/
155155
- run: yarn run bundle-data
156-
- run: yarn run --silent test --coverage --testResultsProcessor="jest-junit" 2>&1 | tee logs/jest
156+
- run: yarn run --silent test --coverage | tee logs/jest
157157
- run: *run-danger
158158
- store_test_results:
159159
path: ./test-results

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"transformIgnorePatterns": [
5656
"node_modules/(?!(jest-)?react-native|glamorous-native)"
5757
],
58+
"testEnvironment": "node",
5859
"preset": "react-native"
5960
},
6061
"prettier": {
@@ -132,7 +133,7 @@
132133
"ajv": "6.5.0",
133134
"babel-core": "6.26.0",
134135
"babel-eslint": "8.2.3",
135-
"babel-jest": "22.4.4",
136+
"babel-jest": "23.0.1",
136137
"babel-plugin-transform-remove-console": "6.9.4",
137138
"babel-preset-react-native": "4.0.0",
138139
"bugsnag-sourcemaps": "1.0.3",
@@ -146,8 +147,7 @@
146147
"eslint-plugin-react": "7.8.2",
147148
"eslint-plugin-react-native": "3.2.0",
148149
"flow-bin": "0.67.1",
149-
"jest": "22.4.2",
150-
"jest-junit": "4.0.0",
150+
"jest": "23.1.0",
151151
"js-yaml": "3.12.0",
152152
"junk": "2.1.0",
153153
"minimist": "1.2.0",

0 commit comments

Comments
 (0)