๐ 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
2 Replies
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)
I may have found the recipe here...
https://github.com/cloudflare/workers-sdk/blob/main/fixtures/vitest-pool-workers-examples/basics-integration-auxiliary/vitest.config.ts#L18
GitHub
workers-sdk/fixtures/vitest-pool-workers-examples/basics-integratio...
โ
๏ธ Home to Wrangler, the CLI for Cloudflare Workersยฎ - cloudflare/workers-sdk