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

How to use Worker's new native RPC feature? #771

Closed
amiranvarov opened this issue Jul 24, 2024 · 3 comments
Closed

How to use Worker's new native RPC feature? #771

amiranvarov opened this issue Jul 24, 2024 · 3 comments

Comments

@amiranvarov
Copy link

Hey, CF Workers recently introduced great feature RPC Docs.

I was wondering how to set up integration testing using Miniflare, but couldn't find any information in docs. Can anyone please explain maybe here or add them in the docs?

@petebacondarwin
Copy link

We recommend that you use the new Vitest integration for workerd for integration testing RPC in Workers.
Here is a recipe for how it can be done: https://github.com/cloudflare/workers-sdk/tree/main/fixtures/vitest-pool-workers-examples/rpc

@github-project-automation github-project-automation bot moved this from Untriaged to Done in workers-sdk Jul 26, 2024
@petebacondarwin
Copy link

And here is more documentation about this integration: https://developers.cloudflare.com/workers/testing/vitest-integration/

@amiranvarov
Copy link
Author

Thank you very much @petebacondarwin !!! 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants