Skip to content

Commit fa31e44

Browse files
sasurau4facebook-github-bot
authored andcommitted
Fix test ci reporter (facebook#22749)
Summary: Hi Team! This PR fixes facebook#22741 Thanks for labeling as Good First Issue! Changelog: ---------- [General] [Fixed] - fix deprecation warning of testResultsProcessor flag in test-ci Pull Request resolved: facebook#22749 Differential Revision: D13542419 Pulled By: hramos fbshipit-source-id: 84f33329a6b9431ed1db843a99e7db7dbeda5361
1 parent f88ce82 commit fa31e44

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@
9898
"<rootDir>/Libraries/react-native/"
9999
]
100100
},
101+
"jest-junit": {
102+
"outputDirectory": "reports/junit",
103+
"outputName": "js-test-results.xml"
104+
},
101105
"main": "Libraries/react-native/react-native-implementation.js",
102106
"files": [
103107
".flowconfig",
@@ -129,7 +133,7 @@
129133
"scripts": {
130134
"start": "node cli.js start",
131135
"test": "jest",
132-
"test-ci": "JEST_JUNIT_OUTPUT=\"reports/junit/js-test-results.xml\" jest --maxWorkers=2 --ci --testResultsProcessor=\"jest-junit\"",
136+
"test-ci": "jest --maxWorkers=2 --ci --reporters=\"default\" --reporters=\"jest-junit\"",
133137
"flow": "flow",
134138
"flow-check-ios": "flow check",
135139
"flow-check-android": "flow check --flowconfig-name .flowconfig.android",

0 commit comments

Comments
 (0)