Skip to content

Commit 9ad0ae2

Browse files
committed
add regression test
1 parent a2aa378 commit 9ad0ae2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/wrangler/e2e/dev-with-resources.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,10 @@ describe.sequential.each(RUNTIMES)("Bindings: $flags", ({ runtime, flags }) => {
370370
name = "${workerName}"
371371
main = "src/index.ts"
372372
compatibility_date = "2025-01-01"
373+
# Regression test for https://github.com/cloudflare/workers-sdk/issues/9006
374+
kv_namespaces = [
375+
${isLocal ? `{ binding = "KV", id = "LOCAL_ONLY" }` : ""}
376+
]
373377
secrets_store_secrets = [
374378
{ binding = "SECRET", store_id = "${storeId}", secret_name = "${secret_name}" }
375379
]

0 commit comments

Comments
 (0)