Browse files

Fix JUnit report location when running Jest

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:

[INTERNAL][MINOR][CI] - JUnit test collection

[skip ci]
Closes #19349

Differential Revision: D8062654

Pulled By: hramos

fbshipit-source-id: 72066270042dfae8afce62469fcfabb57bd405a6
  • Loading branch information...
hramos authored and facebook-github-bot committed May 19, 2018
1 parent caaea38 commit 85fc98d437c08cdec883a73161e120478737ba72
Showing with 1 addition and 1 deletion.
  1. +1 −1 package.json
@@ -123,7 +123,7 @@
"scripts": {
"test": "jest",
"test-ci": "JEST_JUNIT_OUTPUT=\"~/reports/junit/js-test-results.xml\" jest --maxWorkers=2 --ci --testResultsProcessor=\"jest-junit\"",
"test-ci": "JEST_JUNIT_OUTPUT=\"reports/junit/js-test-results.xml\" jest --maxWorkers=2 --ci --testResultsProcessor=\"jest-junit\"",
"flow": "flow",
"lint": "eslint .",
"prettier": "find . -name node_modules -prune -or -name '*.js' -print | xargs prettier --write",

0 comments on commit 85fc98d

Please sign in to comment.