Skip to content

Commit eb88d56

Browse files
test: add test that was missing in #10761 (#10850)
1 parent 59d5911 commit eb88d56

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/wrangler/src/__tests__/deploy.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,6 +1542,12 @@ describe("deploy", () => {
15421542
});
15431543
await runWrangler("deploy ./index");
15441544

1545+
expect(std.info).toMatchInlineSnapshot(`
1546+
"The current authentication token does not have 'All Zones' permissions.
1547+
Falling back to using the zone-based API endpoint to update each route individually.
1548+
Note that there is no access to routes associated with zones that the API token does not have permission for.
1549+
Existing routes for this Worker in such zones will not be deleted."
1550+
`);
15451551
expect(std.err).toMatchInlineSnapshot(`""`);
15461552
expect(std.warn).toMatchInlineSnapshot(`
15471553
"▲ [WARNING] Previously deployed routes:

0 commit comments

Comments
 (0)