"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const strict_1 = __importDefault(require("node:assert/strict"));
const node_test_1 = __importDefault(require("node:test"));
const fastify_1 = require("../src/server/fastify");
(0, node_test_1.default)('buildFastifyServerOptions allows long path params for encrypted auth tokens', () => {
    const options = (0, fastify_1.buildFastifyServerOptions)({ service: 'api-server' });
    strict_1.default.equal(options.routerOptions?.maxParamLength, 2048);
});
(0, node_test_1.default)('buildFastifyServerOptions supports trusted proxy configuration', () => {
    const options = (0, fastify_1.buildFastifyServerOptions)({ service: 'api-server', trustProxy: true });
    strict_1.default.equal(options.trustProxy, true);
});
