function create_fetch(event) {
	// eslint-disable-next-line @typescript-eslint/require-await
	event.fetch = event.fetch || (async () => new Response('foo'));
	event.request = event.request || new Request('doesnt:matter');
	event.route = event.route || { id: 'foo' };
	event.url = event.url || new URL('https://domain-a.com');
	return create_universal_fetch(
		/** @type {Pick<import('@sveltejs/kit').RequestEvent, 'fetch' | 'url' | 'request' | 'route'>} */ (
			event
		),
		{ getClientAddress: () => '', error: false, depth: 0 },
		[],
		true,
		{
			filterSerializedResponseHeaders: () => false
		}
	);
}
@param {Partial<Pick<import('@sveltejs/kit').RequestEvent, 'fetch' | 'url' | 'request' | 'route'>>} event