From af853306d0315633c228a1759a0eac7a81dde1bf Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Thu, 2 Oct 2025 13:59:20 +0100 Subject: [PATCH] test: add test that was missing in #10761 --- packages/wrangler/src/__tests__/deploy.test.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/wrangler/src/__tests__/deploy.test.ts b/packages/wrangler/src/__tests__/deploy.test.ts index e541e2725f..0f2f4cbfe2 100644 --- a/packages/wrangler/src/__tests__/deploy.test.ts +++ b/packages/wrangler/src/__tests__/deploy.test.ts @@ -1542,6 +1542,12 @@ describe("deploy", () => { }); await runWrangler("deploy ./index"); + expect(std.info).toMatchInlineSnapshot(` + "The current authentication token does not have 'All Zones' permissions. + Falling back to using the zone-based API endpoint to update each route individually. + Note that there is no access to routes associated with zones that the API token does not have permission for. + Existing routes for this Worker in such zones will not be deleted." + `); expect(std.err).toMatchInlineSnapshot(`""`); expect(std.warn).toMatchInlineSnapshot(` "▲ [WARNING] Previously deployed routes: