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(ext/net): check network types with Fresh, Oak and std/http #23705

Closed
wants to merge 2 commits into from

Conversation

iuioiua
Copy link
Collaborator

@iuioiua iuioiua commented May 5, 2024

@mmastrac and I figured it'd be worth having some sort of check for ensuring network-related types aren't broken. This is done here by simply checking that current network types don't break with Fresh, Oak and std/http.

@iuioiua
Copy link
Collaborator Author

iuioiua commented May 5, 2024

@dsherret, I want to make actual JSR requests here. Should the spec tests allow me to do this right now?

@iuioiua iuioiua marked this pull request as ready for review May 5, 2024 22:03
"output": "http.out"
},
{
"args": "check https://deno.land/x/fresh/src/types.ts",
Copy link
Member

@dsherret dsherret May 5, 2024

Choose a reason for hiding this comment

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

@dsherret, I want to make actual JSR requests here. Should the spec tests allow me to do this right now?

We should make the tests work without an internet connection. Tests that rely on remote servers are often flaky and don't work when developing without an internet connection (ex. on a plane).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We could have these codebases as git submodules, but I don't think that's desirable. I assume we'd like to keep git submodules to a minimum.

@mmastrac, I wonder if we should even do this or instead keep a mental note for the rare scenario that we change network types to do this manually.

@iuioiua iuioiua closed this May 23, 2024
@iuioiua iuioiua deleted the chec-net-types branch May 23, 2024 22:27
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.

None yet

2 participants