RPC not working in vitest integration

We wrote a cloudflare worker using RPC, but when we tried to test it we got an error. I created this minimal reproduction: https://github.com/MarcoIeni/cf-rpc-test Is it possible to invoke workers RPC from tests?
GitHub - MarcoIeni/cf-rpc-test
Contribute to MarcoIeni/cf-rpc-test development by creating an account on GitHub.
1 Reply
DaniFoldi4w ago
It will :soontm:be possible, hopefully once https://github.com/cloudflare/workers-sdk/pull/5508 lands. I'm also excited to get JSRPC unit-testable properly