Skip to content

Commit 85fc98d

Browse files
hramosfacebook-github-bot
authored andcommitted
Fix JUnit report location when running Jest
Summary: We were incorrectly writing jest's junit output to ~/reports/ instead of ~/react-native/reports. Run on Circle and confirm JUnit test results are rendered: https://circleci.com/gh/hramos/react-native/2208 [INTERNAL][MINOR][CI] - JUnit test collection [skip ci] Closes #19349 Differential Revision: D8062654 Pulled By: hramos fbshipit-source-id: 72066270042dfae8afce62469fcfabb57bd405a6
1 parent caaea38 commit 85fc98d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
],
124124
"scripts": {
125125
"test": "jest",
126-
"test-ci": "JEST_JUNIT_OUTPUT=\"~/reports/junit/js-test-results.xml\" jest --maxWorkers=2 --ci --testResultsProcessor=\"jest-junit\"",
126+
"test-ci": "JEST_JUNIT_OUTPUT=\"reports/junit/js-test-results.xml\" jest --maxWorkers=2 --ci --testResultsProcessor=\"jest-junit\"",
127127
"flow": "flow",
128128
"lint": "eslint .",
129129
"prettier": "find . -name node_modules -prune -or -name '*.js' -print | xargs prettier --write",

0 commit comments

Comments
 (0)