@estruyf/github-actions-reporter
Advanced tools
Comparing version
@@ -5,2 +5,6 @@ # Changelog | ||
## [1.7.0] | ||
- [#14](https://github.com/estruyf/playwright-github-actions-reporter/issues/14): Added the `quiet` option to disable console logging + `stdErr` output support | ||
## [1.6.0] | ||
@@ -7,0 +11,0 @@ |
@@ -41,2 +41,3 @@ "use strict"; | ||
showTags: true, | ||
quiet: false, | ||
}) { | ||
@@ -61,4 +62,15 @@ this.options = options; | ||
onStdOut(chunk, _, __) { | ||
console.log(chunk.toString()); | ||
if (this.options.quiet) { | ||
return; | ||
} | ||
const text = chunk.toString("utf-8"); | ||
process.stdout.write(text); | ||
} | ||
onStdErr(chunk, _, __) { | ||
if (this.options.quiet) { | ||
return; | ||
} | ||
const text = chunk.toString("utf-8"); | ||
process.stderr.write(text); | ||
} | ||
onEnd(result) { | ||
@@ -65,0 +77,0 @@ return __awaiter(this, void 0, void 0, function* () { |
{ | ||
"name": "@estruyf/github-actions-reporter", | ||
"version": "1.6.0", | ||
"version": "1.7.0-beta.8914191", | ||
"description": "GitHub Actions reporter for Playwright", | ||
@@ -50,2 +50,2 @@ "main": "dist/index.js", | ||
} | ||
} | ||
} |
@@ -41,2 +41,3 @@ # GitHub Actions Reporter for Playwright | ||
| showError | Show error message in summary | `false` | | ||
| quiet | Do not show any output in the console | `false` | | ||
@@ -43,0 +44,0 @@ To use these option, you can update the reporter configuration: |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
28931
1.96%588
2.08%68
1.49%1
Infinity%