Skip to content

Commit

Permalink
feat: Add testResultsProcessor to supported Jest keys
Browse files Browse the repository at this point in the history
  • Loading branch information
domdomegg committed May 11, 2021
1 parent fddce8a commit 173eec7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docusaurus/docs/running-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ Supported overrides:
- [`transform`](https://jestjs.io/docs/en/configuration.html#transform-object-string-pathtotransformer-pathtotransformer-object)
- [`transformIgnorePatterns`](https://jestjs.io/docs/en/configuration.html#transformignorepatterns-array-string)
- [`watchPathIgnorePatterns`](https://jestjs.io/docs/en/configuration.html#watchpathignorepatterns-array-string)
- [`testResultsProcessor`](https://jestjs.io/docs/en/configuration#testresultsprocessor-string)
Example package.json:
Expand Down
1 change: 1 addition & 0 deletions packages/react-scripts/scripts/utils/createJestConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ module.exports = (resolve, rootDir, isEjecting) => {
'transform',
'transformIgnorePatterns',
'watchPathIgnorePatterns',
'testResultsProcessor',
];
if (overrides) {
supportedKeys.forEach(key => {
Expand Down

0 comments on commit 173eec7

Please sign in to comment.