Builds a ready-to-dispatch IncomingHttpEvent for tests, with sensible defaults — no more repeating IncomingHttpEvent.create({ url: new URL(...) }) in every test.
IncomingHttpEvent
IncomingHttpEvent.create({ url: new URL(...) })
The event options.
The incoming HTTP event.
Builds a ready-to-dispatch
IncomingHttpEventfor tests, with sensible defaults — no more repeatingIncomingHttpEvent.create({ url: new URL(...) })in every test.