export function fakeForm( data: Record, ): FormData { return { get: (key: string) => data[key] ?? null, } as unknown as FormData; }