Closed thuijer closed 7 years ago
@thuijer Thanks for reporting this.
Could you please try to upgrade to the version 1.1.0
and remove --teamcity
flag?
It happens because Jest started throwing the error in case of adding unsupported CLI options.
Thanks, got it working. Your readme.md needs to be updated though. ;-)
Yes, I will add more details about this to README. Thanks! Also, this change is stated at CHANGELOG.
I get the following error when using this:
[15:10:55][Step 1/1] $ jest --config=src/react/jest.config.json --verbose --teamcity [15:10:56][Step 1/1] C:\BuildAgent\work\e49c7465ca0ba2a8\KvK.Internet.Web\node_modules\jest-util\build\validateCLIOptions.js:63 [15:10:56][Step 1/1] throw createCLIValidationError(unrecognizedOptions, allowedOptions); [15:10:56][Step 1/1] ^ [15:10:56][Step 1/1] [15:10:56][Step 1/1] â—� Unrecognized CLI Parameter: [15:10:56][Step 1/1] [15:10:56][Step 1/1] Unrecognized option "teamcity". [15:10:56][Step 1/1] [15:10:56][Step 1/1] CLI Options Documentation: [15:10:56][Step 1/1] http://facebook.github.io/jest/docs/cli.html [15:10:56][Step 1/1] [15:10:56][Step 1/1] error Command failed with exit code 1.