mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
Update README.md
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.
This commit is contained in:
parent
0d00bb14cb
commit
d553414051
1 changed files with 3 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue