Team city reporter
Created by: bondarewicz
Description
I wonder if anyone tried to use team city reporter for jest? I'm looking at jest-teamcity-reporter and following guide:
npm install --save-dev jest-teamcity-reporter
package.json
"jest": {
"testResultsProcessor": "node_modules/jest-teamcity-reporter"
}
and following modification to scripts section:
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"ci": "react-scripts test --env=jsdom --teamcity"
},
then run CI=true npm run ci
Expected behavior
Output of team city reporter
Actual behavior
Tests are run with standard reporter and following message have been reported:
react-scripts test --env=jsdom --teamcity
Unrecognized options: teamcity
Environment
Run these commands in the project folder and fill in their results:
-
npm ls react-scripts
(if you haven’t ejected):└── react-scripts@0.6.1
-
node -v
:v5.1.0
-
npm -v
:3.8.1