Files
brain/tools/router-config.test.mjs
T

24 lines
829 B
JavaScript

// tools/router-config.test.mjs — TDD for Phase 2 Task 8
import { describe, it, expect } from 'vitest';
import * as cfg from './router-config.mjs';
describe('router-config exports', () => {
it('CLASSIFIER_MODEL is deepseek-v4-flash (router/mentor/judge migrated to Flash 2026-06-19)', () => {
expect(cfg.CLASSIFIER_MODEL).toBe('deepseek-v4-flash');
});
it('REVIEWER_MODEL is Opus 4.7', () => {
expect(cfg.REVIEWER_MODEL).toBe('claude-opus-4-7');
});
it('INHERITANCE_MAX_AGE_MIN === 30', () => {
expect(cfg.INHERITANCE_MAX_AGE_MIN).toBe(30);
expect(typeof cfg.INHERITANCE_MAX_AGE_MIN).toBe('number');
});
it('REVIEWER_MAX_NEIGHBOR_EPISODES === 10', () => {
expect(cfg.REVIEWER_MAX_NEIGHBOR_EPISODES).toBe(10);
expect(typeof cfg.REVIEWER_MAX_NEIGHBOR_EPISODES).toBe('number');
});
});