Testing with unstable_dev and production service bindings?
In development I have a javascript worker with a service binding to a production wasi worker. When running tests with unstable_dev, the service binding to the worker in production isn’t working, even though I’m providing unstable_dev with the wrangler config file that has the service binding to the production wasi worker.
Does unstable_dev support this? The docs have an example of multi-worker testing, but not with a situation like this, where the child worker is a wasi worker in production.
Thank you!
2 Replies
I need this as well
Solution on https://github.com/cloudflare/workers-sdk/issues/3526 works for me right now. Pass {"remote": true} even if "remote" key is not on type def
GitHub
🐛 BUG: unstable_dev can't be used with local: false since v3 · Issu...
Which Cloudflare product(s) does this pertain to? Wrangler What version of Wrangler are you using? 3.1.1 What operating system are you using? Mac Describe the Bug Before v3 we were doing this: cons...