Skip to content
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

ci: add importer to direct jest non-error output to stdout #4375

Closed
wants to merge 1 commit into from

Conversation

vindard
Copy link
Contributor

@vindard vindard commented Apr 26, 2024

Description

jest has an issue where non-error reporting also goes to stderr (see this issue jestjs/jest#5064). This seems to be a long-running issue and one of the solution that's emerged is to use the jest-standard-reporter package as a reporter in jest config to properly direct output.

Our trigger for this is to be able to see test reporting as tests are executed in buck instead of having to wait to the end of the test run when stderr is collected and dumped to the terminal.

This segregation has additional potential benefits if we ever end up using any ci tooling that depends on error messages going to stderr and regular output going to stdout.

@vindard vindard changed the title ci: add importer to direct jest non-error output too stdout ci: add importer to direct jest non-error output to stdout Apr 26, 2024
@vindard
Copy link
Contributor Author

vindard commented Apr 26, 2024

Closing because STDOUT also doesn't get printed to console in realtime

@vindard vindard closed this Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant