File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
vitest-pool-workers/src/worker Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -354,6 +354,7 @@ const PROXY_ENTRYPOINT_HEADER = "X-Miniflare-Proxy-Entrypoint";
354354const CREATE_PROXY_PROTOTYPE_CLASS_HELPER_SCRIPT = `
355355 const HANDLER_RESERVED_KEYS = new Set([
356356 "alarm",
357+ "connect",
357358 "scheduled",
358359 "self",
359360 "tail",
Original file line number Diff line number Diff line change @@ -176,7 +176,6 @@ function getEntrypointState(
176176}
177177
178178const WORKER_ENTRYPOINT_KEYS = [
179- "tailStream" ,
180179 "fetch" ,
181180 "tail" ,
182181 "trace" ,
@@ -185,13 +184,15 @@ const WORKER_ENTRYPOINT_KEYS = [
185184 "test" ,
186185 "tailStream" ,
187186 "email" ,
187+ "connect" ,
188188] as const ;
189189const DURABLE_OBJECT_KEYS = [
190190 "fetch" ,
191191 "alarm" ,
192192 "webSocketMessage" ,
193193 "webSocketClose" ,
194194 "webSocketError" ,
195+ "connect" ,
195196] as const ;
196197
197198// This type will grab the keys from T and remove "branded" keys
You can’t perform that action at this time.
0 commit comments