test(ui): name expected router tiers

This commit is contained in:
onatozmenn 2026-09-26 17:47:13 +03:00
parent 11e7ae542b
commit 093c3bfc21
No known key found for this signature in database

View file

@ -30,13 +30,14 @@ describe("auto-router tier model replacement", () => {
models: ["gemma4-12b-it-optiq-4bit"],
}).value;
const saved = buildUpdatedComplexityRouterConfig(stored, changed);
expect(saved.tiers).toEqual({
const expectedTiers = {
SIMPLE: ["gemma4-12b-it-optiq-4bit"],
MEDIUM: [],
COMPLEX: [],
REASONING: [],
});
};
expect(saved.tiers).toEqual(expectedTiers);
expect(saved).not.toHaveProperty("tier_model_configs");
});
});