Skip to content

Commit fffdcee

Browse files
remove all remaining autoConfigSupported
1 parent 98b1950 commit fffdcee

4 files changed

Lines changed: 0 additions & 14 deletions

File tree

packages/wrangler/src/__tests__/autoconfig/details/confirm-auto-config-details.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ describe("autoconfig details - confirmAutoConfigDetails()", () => {
4646
"buildCommand": "npm run build",
4747
"configured": false,
4848
"framework": Static {
49-
"autoConfigSupported": true,
5049
"configurationDescription": undefined,
5150
"id": "static",
5251
"name": "Static",
@@ -108,7 +107,6 @@ describe("autoconfig details - confirmAutoConfigDetails()", () => {
108107
"buildCommand": "npm run app:build",
109108
"configured": false,
110109
"framework": Static {
111-
"autoConfigSupported": true,
112110
"configurationDescription": undefined,
113111
"id": "static",
114112
"name": "Static",
@@ -170,7 +168,6 @@ describe("autoconfig details - confirmAutoConfigDetails()", () => {
170168
"buildCommand": "npm run build",
171169
"configured": false,
172170
"framework": Astro {
173-
"autoConfigSupported": true,
174171
"configurationDescription": "Configuring project for Astro with "astro add cloudflare"",
175172
"id": "astro",
176173
"name": "Astro",
@@ -254,7 +251,6 @@ describe("autoconfig details - confirmAutoConfigDetails()", () => {
254251
"buildCommand": "npm run build",
255252
"configured": false,
256253
"framework": Static {
257-
"autoConfigSupported": true,
258254
"configurationDescription": undefined,
259255
"id": "static",
260256
"name": "Static",

packages/wrangler/src/__tests__/autoconfig/details/display-auto-config-details.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ describe("autoconfig details - displayAutoConfigDetails()", () => {
5656
({
5757
wranglerConfig: {},
5858
}) satisfies ReturnType<Framework["configure"]>,
59-
autoConfigSupported: true,
6059
} as unknown as Framework,
6160
buildCommand: "astro build",
6261
outputDir: "dist",

packages/wrangler/src/__tests__/autoconfig/run.test.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ describe("autoconfig (deploy)", () => {
163163
framework: {
164164
id: "cloudflare-pages",
165165
name: "Cloudflare Pages",
166-
autoConfigSupported: false,
167166
configure: async () => ({ wranglerConfig: {} }),
168167
isConfigured: () => false,
169168
} as unknown as Framework,
@@ -237,7 +236,6 @@ describe("autoconfig (deploy)", () => {
237236
name: "Static",
238237
configure: configureSpy,
239238
isConfigured: () => false,
240-
autoConfigSupported: true,
241239
} as unknown as Framework,
242240
outputDir: "dist",
243241
packageJson: {
@@ -575,7 +573,6 @@ describe("autoconfig (deploy)", () => {
575573
framework: {
576574
id: "cloudflare-pages",
577575
name: "Cloudflare Pages",
578-
autoConfigSupported: false,
579576
configure: async () => ({ wranglerConfig: {} }),
580577
isConfigured: () => false,
581578
} as unknown as Framework,
@@ -601,7 +598,6 @@ describe("autoconfig (deploy)", () => {
601598
framework: {
602599
id: "hono",
603600
name: "Hono",
604-
autoConfigSupported: false,
605601
configure: async () => ({ wranglerConfig: {} }),
606602
isConfigured: () => false,
607603
} as unknown as Framework,
@@ -636,7 +632,6 @@ describe("autoconfig (deploy)", () => {
636632
// for unknown framework ids while keeping the test focused on its intent.
637633
id: "static",
638634
name: "Static",
639-
autoConfigSupported: true,
640635
configure: async () => ({
641636
wranglerConfig: {
642637
// No compatibility_flags specified
@@ -673,7 +668,6 @@ describe("autoconfig (deploy)", () => {
673668
// for unknown framework ids while keeping the test focused on its intent.
674669
id: "static",
675670
name: "Static",
676-
autoConfigSupported: true,
677671
configure: async () => ({
678672
wranglerConfig: {
679673
compatibility_flags: ["global_fetch_strictly_public"],
@@ -713,7 +707,6 @@ describe("autoconfig (deploy)", () => {
713707
// for unknown framework ids while keeping the test focused on its intent.
714708
id: "static",
715709
name: "Static",
716-
autoConfigSupported: true,
717710
configure: async () => ({
718711
wranglerConfig: {
719712
compatibility_flags: ["nodejs_compat"],

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,6 @@ describe("deploy", () => {
588588
framework: {
589589
id: "cloudflare-pages",
590590
name: "Cloudflare Pages",
591-
autoConfigSupported: false,
592591
configure: async () => ({ wranglerConfig: {} }),
593592
isConfigured: () => false,
594593
} as unknown as Framework,
@@ -632,7 +631,6 @@ describe("deploy", () => {
632631
framework: {
633632
id: "cloudflare-pages",
634633
name: "Cloudflare Pages",
635-
autoConfigSupported: false,
636634
configure: async () => ({ wranglerConfig: {} }),
637635
isConfigured: () => false,
638636
} as unknown as Framework,

0 commit comments

Comments
 (0)