mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
Document potential issue with mocha JSON reporter
This commit is contained in:
parent
ee126813a2
commit
0e5d21a75b
1 changed files with 4 additions and 0 deletions
|
|
@ -286,6 +286,10 @@ You can use following example configuration in `package.json`:
|
|||
"test": "mocha --reporter json > test-results.json"
|
||||
}
|
||||
```
|
||||
|
||||
Test processing might fail if any of your tests writes anything on standard output.
|
||||
Mocha unfortunately doesn't have option to store `json` output directly to file and we have to rely on redirecting its standard output.
|
||||
There is a work in progress to fix it: [mocha#4607](https://github.com/mochajs/mocha/pull/4607)
|
||||
</details>
|
||||
|
||||
## GitHub limitations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue