Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
updated Junit to lowercase junit.
If the reporter is used as "jest-Junit" in a linux build agent, the test runner throws a `module not found` error related to Junit.
Setting `--reporters=jest-junit` solves the problem.
  • Loading branch information
Ian Moroney authored and GitHub committed Feb 14, 2022
1 parent 0d00bb1 commit d553414
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,14 +256,14 @@ Some heuristic was necessary to figure out the mapping between the line in the s
</details>

<details>
<summary>jest-Junit</summary>
<summary>jest-junit</summary>

[JEST](https://jestjs.io/) testing framework support requires the usage of [jest-Junit](https://github.com/jest-community/jest-Junit) reporter.
[JEST](https://jestjs.io/) testing framework support requires the usage of [jest-junit](https://github.com/jest-community/jest-junit) reporter.
It will create test results in Junit XML format which can be then processed by this action.
You can use the following example configuration in `package.json`:
```json
"scripts": {
"test": "jest --ci --reporters=default --reporters=jest-Junit"
"test": "jest --ci --reporters=default --reporters=jest-junit"
},
"devDependencies": {
"jest": "^26.5.3",
Expand Down

0 comments on commit d553414

Please sign in to comment.