Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 653f796

Browse files
authored
chore: fix version upload e2e test (#10547)
1 parent cc47b51 commit 653f796

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/wrangler/e2e/provision.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ describe.skipIf(!CLOUDFLARE_ACCOUNT_ID)(
4444
name = "${workerName}"
4545
main = "src/index.ts"
4646
compatibility_date = "2023-01-01"
47+
workers_dev = true
4748
4849
[[kv_namespaces]]
4950
binding = "KV"
@@ -183,7 +184,6 @@ describe.skipIf(!CLOUDFLARE_ACCOUNT_ID)(
183184
env.R2 (inherited) R2 Bucket
184185
Uploaded tmp-e2e-worker-00000000-0000-0000-0000-000000000000 (TIMINGS)
185186
Worker Version ID: 00000000-0000-0000-0000-000000000000
186-
Version Preview URL: https://tmp-e2e-worker-PREVIEW-URL.SUBDOMAIN.workers.dev
187187
To deploy this version to production traffic use the command wrangler versions deploy
188188
Changes to non-versioned settings (config properties 'logpush' or 'tail_consumers') take effect after your next deployment using the command wrangler versions deploy
189189
Changes to triggers (routes, custom domains, cron schedules, etc) must be applied with the command wrangler triggers deploy"

packages/wrangler/e2e/versions.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ describe.skipIf(!CLOUDFLARE_ACCOUNT_ID)(
3737
name = "${workerName}"
3838
main = "src/index.ts"
3939
compatibility_date = "2023-01-01"
40+
preview_urls = true
4041
`,
4142
"src/index.ts": dedent`
4243
export default {

0 commit comments

Comments
 (0)