1import * as Cloudflare from "@/Cloudflare/index.ts";
2
3/**
4 * Shared R2 bucket bound by all six binding-test workers (read /
5 * write / read-write, each over the native Worker binding and over a
6 * scoped HTTP API token). Because every worker binds this same
7 * bucket, a value written through a Write worker is observable by a
8 * Read worker — which is what the test asserts.
9 */
10export const TestBucket = Cloudflare.R2.Bucket("R2BindingTestBucket", {
11 forceDestroy: true,
12});