๐Ÿ‘‹ When using `import {

๐Ÿ‘‹ When using import { defineWorkersConfig } from '@cloudflare/vitest-pool-workers/config';, how do you define your service bindings that normally exist in wrangler.toml? Example from wrangler.toml
[[services]]
binding = "MY_SERVICE"
service = "my-service"
[[services]]
binding = "MY_SERVICE"
service = "my-service"
2 Replies
kevin
kevinOPโ€ข7mo ago
When I'm running vitest, I ultimately get this error, which I can't seem to track down the source of... (i've only looked in the workers-sdk repo so far though)
Worker "core:user:vitest-pool-workers-runner-"'s binding "EDGE_CLIENT_SERVICE" refers to a service "core:user:edge-client-service", but no such service is defined.
Worker "core:user:vitest-pool-workers-runner-"'s binding "EDGE_CLIENT_SERVICE" refers to a service "core:user:edge-client-service", but no such service is defined.
kevin
kevinOPโ€ข7mo ago
Want results from more Discord servers?
Add your server