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

fix: add outputFile to the jest cli flags #3472

Closed
wants to merge 1 commit into from

Conversation

deleonio
Copy link

@deleonio deleonio commented Jul 14, 2022

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Unit tests (npm test) were run locally and passed
  • E2E Tests (npm run test.karma.prod) were run locally and passed
  • Prettier (npm run prettier) was run locally and passed

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

GitHub Issue Number: #3471

What is the new behavior?

  • the jest flag outputFileworks

Does this introduce a breaking change?

  • Yes
  • No

Testing

Other information

@deleonio deleonio requested a review from a team July 14, 2022 18:32
@@ -66,6 +66,7 @@ export const BOOLEAN_CLI_ARGS = [
'notify',
'onlyChanged',
'onlyFailures',
'outputFile',
Copy link
Contributor

Choose a reason for hiding this comment

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

This array that we're adding outputFile to is meant to be for boolean arguments only. For string arguments, we have a separate array in this file that currently contains outputFile.

In doing some research, outputFile is typed as a string in Jest and I'm not seeing it in @types/jest.
Is there a reason we need to add outputFile here?

@rwaskiewicz rwaskiewicz added the Awaiting Reply This PR or Issue needs a reply from the original reporter. label Jul 18, 2022
@alicewriteswrongs
Copy link
Contributor

Closing in favor of #3483 which fixes the issue reported in #3471. Thanks for filing the issue and contributing!

@ionitron-bot ionitron-bot bot removed the Awaiting Reply This PR or Issue needs a reply from the original reporter. label Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants