export function createFastifyRequestStub(options = {}) {
    const headers = options.headers ?? {};
    const rawBody = typeof options.rawBody === 'string'
        ? Buffer.from(options.rawBody)
        : options.rawBody;
    return {
        headers,
        rawBody,
    };
}
//# sourceMappingURL=fastifyRequest.stub.js.map