Skip to content

fix: validate testURL as CLI option#10595

Merged
SimenB merged 1 commit intojestjs:masterfrom
victorphoenix3:first
Oct 8, 2020
Merged

fix: validate testURL as CLI option#10595
SimenB merged 1 commit intojestjs:masterfrom
victorphoenix3:first

Conversation

@victorphoenix3
Copy link
Copy Markdown
Contributor

Resolves #8889
Currently running jest --testURL "https://localhost" fails with --testURL being treated as Unrecognized CLI Parameter.

@victorphoenix3
Copy link
Copy Markdown
Contributor Author

Hi @SimenB . The PR is ready for review!

@mkcode
Copy link
Copy Markdown

mkcode commented Oct 8, 2020

LGTM

@thymikee
Copy link
Copy Markdown
Contributor

thymikee commented Oct 8, 2020

How about renaming it to testUrl so it's consistent with others?

Copy link
Copy Markdown
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

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

Thanks! This makes sense 👍

Comment thread CHANGELOG.md Outdated
@SimenB
Copy link
Copy Markdown
Member

SimenB commented Oct 8, 2020

We squash merge, so multiple commits doesn't matter. They don't hurt either of course, but you don't have to worry too much about the commit history of your PRs 🙂

@SimenB SimenB changed the title Validate testURL as CLI option fix: validate testURL as CLI option Oct 8, 2020
@SimenB SimenB merged commit b0c16bd into jestjs:master Oct 8, 2020
@SimenB
Copy link
Copy Markdown
Member

SimenB commented Oct 8, 2020

Thanks @victorphoenix3!

@github-actions
Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using --testURL as a CLI option results in Unrecognized CLI Parameter"

6 participants