-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access to test console output in reporters should not depend on verbose option #5232
Comments
Sorta related: #5242 |
@SimenB Thanks for the idea, looks like overwriting Since it's needed for a tool (IntelliJ IDEA / WebStorm Jest test runner), user's config can't be modified to add a jasmine setup file to |
If it works, yes. It feels hackish, though. And as a user of IntelliJ, I want the integration to be as good as possible 😀 I think IntelliJ's integration cannot use https://github.com/facebook/jest/tree/master/packages/jest-editor-support (as it's written in Java), right? If not, we should try to accomodate CLI options as much as possible. |
@SimenB Yep, a bit hackish. Actually, the integration can use |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Do you want to request a feature or report a bug?
Looks like a bug
What is the current behavior?
Currently,
testResult
object passed to onTestResult(test, testResult, aggregatedResult) doesn't contain any info about console output. However, it's there if--verbose=false
cli option passed (becauseBufferedConsole
created here hasgetBuffer
method returning actual buffer, and defaultConsole
hasgetBuffer
method returning null).What is the expected behavior?
Console output info is presented in
testResult
object always.Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.
node: 9.2.1
jest: 22.0.4
The text was updated successfully, but these errors were encountered: