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(node/http(s)): export globalAgent #21081

Merged
merged 5 commits into from
Nov 11, 2023
Merged

fix(node/http(s)): export globalAgent #21081

merged 5 commits into from
Nov 11, 2023

Conversation

jcbhmr
Copy link
Contributor

@jcbhmr jcbhmr commented Nov 3, 2023

fix #21080
fix #18312

@CLAassistant
Copy link

CLAassistant commented Nov 3, 2023

CLA assistant check
All committers have signed the CLA.

@jcbhmr jcbhmr changed the title fix(https): export globalAgent on module namespace fix(node/https): export globalAgent on module namespace Nov 3, 2023
Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

Signed-off-by: Jacob Hummer <[email protected]>
@jcbhmr jcbhmr changed the title fix(node/https): export globalAgent on module namespace fix(node/http(s)): export globalAgent Nov 7, 2023
@jcbhmr
Copy link
Contributor Author

jcbhmr commented Nov 7, 2023

@bartlomieju you mentioned tests. how do i add tests? there's no obvious "polyfills/http_test.ts" or obvious file lol

@littledivy
Copy link
Member

@jcbhmr You can add one in cli/tests/unit_node/http_test.ts

Signed-off-by: Jacob Hummer <[email protected]>
Signed-off-by: Jacob Hummer <[email protected]>
@jcbhmr
Copy link
Contributor Author

jcbhmr commented Nov 8, 2023

added tests. anything else i need to do?

@littledivy
Copy link
Member

littledivy commented Nov 10, 2023

@jcbhmr CI is failing on format: https://github.com/denoland/deno/actions/runs/6800677587/job/18510257746?pr=21081

Can you run ./tools/format.js?

@littledivy littledivy merged commit b2e3389 into denoland:main Nov 11, 2023
13 checks passed
@jcbhmr jcbhmr deleted the patch-1 branch November 11, 2023 15:02
kt3k pushed a commit that referenced this pull request Nov 17, 2023
Fixes #21080 
Fixes #18312

---------

Signed-off-by: Jacob Hummer <[email protected]>
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.

https.globalAgent exists on default export but not on module namespace node: http(s).globalAgent is missing
3 participants