File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed
edge-preview-authenticated-proxy Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function removeUUID(str: string) {
1414
1515// Mock implementation for the remote worker
1616function createMockFetchImplementation ( ) {
17- return async ( input : RequestInfo | URL , init ?: RequestInit ) => {
17+ return async ( input : Request | string | URL , init ?: RequestInit ) => {
1818 const request = new Request ( input , init ) ;
1919 const url = new URL ( request . url ) ;
2020
Original file line number Diff line number Diff line change 44 "lib" : [" esnext" ],
55 "module" : " esnext" ,
66 "moduleResolution" : " bundler" ,
7- "types" : [" @cloudflare/vitest-pool-workers/latest " ],
7+ "types" : [" @cloudflare/vitest-pool-workers" ],
88 "allowJs" : true ,
99 "checkJs" : false ,
1010 "noEmit" : true ,
Original file line number Diff line number Diff line change 1818 "strict" : true /* Enable all strict type-checking options. */ ,
1919 "skipLibCheck" : true /* Skip type checking all .d.ts files. */
2020 },
21- "exclude" : [" **/*.test.ts" ]
21+ "exclude" : [" **/*.test.ts" , " vitest.config.mts " ]
2222}
Original file line number Diff line number Diff line change 1- import { execSync } from "node:child_process" ;
21import getPort from "get-port" ;
32import dedent from "ts-dedent" ;
43import { fetch , Request } from "undici" ;
@@ -7,8 +6,7 @@ import { WranglerE2ETestHelper } from "./helpers/e2e-wrangler-test";
76import { fetchText } from "./helpers/fetch-text" ;
87import { generateResourceName } from "./helpers/generate-resource-name" ;
98import { normalizeOutput } from "./helpers/normalize" ;
10- import { seed as baseSeed , makeRoot , seed } from "./helpers/setup" ;
11- import { WRANGLER_IMPORT } from "./helpers/wrangler" ;
9+ import { seed as baseSeed , makeRoot } from "./helpers/setup" ;
1210import type { RequestInit } from "undici" ;
1311
1412async function fetchJson < T > ( url : string , info ?: RequestInit ) : Promise < T > {
You can’t perform that action at this time.
0 commit comments