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

chore(integration): improve build failure output in tests #3567

Merged
merged 1 commit into from
Jun 25, 2022

Conversation

jenseng
Copy link
Contributor

@jenseng jenseng commented Jun 24, 2022

Display the actual contents of stderr when things fail. I preserved the commented-out debug stuff, as that can be useful for seeing what's happening when things don't fail.

Testing Strategy:

  • Ran all integration tests, they passed, and no output changed
  • Made a test fail and confirmed I saw the new error message and useful output :)

Copy link
Member

@MichaelDeBoey MichaelDeBoey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

One small thing: be sure to remove the chalk import from the file

Display the actual contents of stderr when things fail. Leaving the
commented-out debug stuff above it, as that can be useful for seeing
what's happening when things don't fail.
@jenseng jenseng force-pushed the integration-fail-on-build-errors branch from 1adb43e to 8e930aa Compare June 24, 2022 21:24
@jenseng
Copy link
Contributor Author

jenseng commented Jun 24, 2022

✅ Done!

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kentcdodds kentcdodds merged commit bbd2894 into remix-run:dev Jun 25, 2022
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.

3 participants