Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance custom reporter options with TestRunner options
The default summary reporter contains this line: `this._write(getResultHeader(testResult, globalConfig) + '\n' + failureMessage + '\n');` By replacing it with this: `this._write(getResultHeader(testResult, globalConfig) + '\n');` My tests run in 6 seconds instead of 30 (terminal seems to slow down when continuously printing lots of errors). I don't need the duplicate error messages in the summary because I can scroll up. I decided the best solution would be to replace the default SummaryReporter. It looks like you're passing an object with `pattern`, `testNamePattern` & `testPathPattern` defined to the default SummaryReporter, but not to custom reporters & there's no way to access these variables. Fix string usage for custom reporter Fix lint errors
- Loading branch information