export function createTestRepository(overrides) {
    return {
        name: 'test-repo',
        platform: 'gitlab',
        remoteUrl: 'https://gitlab.com/test/repo',
        localPath: '/tmp/test-repo',
        skill: 'review-code',
        enabled: true,
        ...overrides,
    };
}
export function createTestConfig(overrides) {
    return {
        server: { port: 3000 },
        user: {
            gitlabUsername: 'test-user',
            githubUsername: 'test-user-gh',
        },
        queue: {
            maxConcurrent: 2,
            deduplicationWindowMs: 60000,
            jobHistoryRetentionDays: 7,
        },
        repositories: [createTestRepository()],
        triggerMode: 'full-auto',
        ...overrides,
    };
}
//# sourceMappingURL=config.factory.js.map