Skip to content

Team city reporter #882

Description

@bondarewicz

Description

I wonder if anyone tried to use team city reporter for jest?
I'm looking at jest-teamcity-reporter and following guide:

  1. npm install --save-dev jest-teamcity-reporter
  2. 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:

  1. npm ls react-scripts (if you haven’t ejected):
    └── react-scripts@0.6.1
  2. node -v:
    v5.1.0
  3. npm -v:
    3.8.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions