Are there example repos of Durable
Are there example repos of Durable Object RPC + vitest integration?
I'm running into trouble with it throwing
The receiving Durable Object does not support RPC...
when running tests attached to it. Repro here: https://github.com/its-jman/workers-types-repro3 Replies
Hey @jman, did you ever find a solution to 👇 ?
The receiving Durable Object does not support RPCI'm hitting this too in a bare bones setup, w/ vitest-pool-workers, and the correct compat dates/flags...
I found it pretty fiddly to get working, but I added details in the threads below that message, and some following issues in later messages:
https://discord.com/channels/595317990191398933/779390076219686943/1229204177469702174
https://discord.com/channels/595317990191398933/779390076219686943/1229228850701930539
Hey @jman , looks like https://github.com/cloudflare/workers-sdk/pull/5916 / https://github.com/cloudflare/workers-sdk/pull/5932 fixes this (tip from Cloudflare friends)
I confirmed this with the vitest-pool-workers prerelease