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

test: remove unnecessary urlToHttpOptions test #47002

Closed
wants to merge 1 commit into from

Conversation

anonrig
Copy link
Member

@anonrig anonrig commented Mar 7, 2023

The following test is not needed anymore. We removed the symbol in URL, and the following test is unnecessary. Reference: #46904

We don't even check for isURL on urlToHttpOptions, but the parameter of urlToHttpOptions is expected to be URL.

Referencing the discussion with @aduh95 on #46989

cc @nodejs/url

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Mar 7, 2023
@anonrig anonrig added the url Issues and PRs related to the legacy built-in url module. label Mar 7, 2023
Copy link
Contributor

@aduh95 aduh95 left a comment

Choose a reason for hiding this comment

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

I don’t think it’s a good reason to remove the test.

@anonrig anonrig closed this Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. url Issues and PRs related to the legacy built-in url module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants