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

Repro / mock request with incoming request.cf properties #4

Open
wants to merge 1 commit into
base: minimal-clean-slate
Choose a base branch
from

Conversation

ptim
Copy link
Owner

@ptim ptim commented Aug 4, 2022

The first (passing) test fails in my work repo, suggesting some test-harness config issue, or package version.

The second (failing) test I'm attempting as a workaround; not sure what I'm doing wrong...

});

// FAILS
test("set `cf` via Miniflare#metaProvider", async () => {
Copy link
Owner Author

Choose a reason for hiding this comment

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

Unfortunately, metaProvider is only used by the HTTP server (mf.startServer/mf.createServer) at the moment 😦
@mrbbot https://discord.com/channels/595317990191398933/891052295410835476/1004750072812154970

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.

1 participant