test(agents): update Atlas uiSelectedModel expectation
This commit is contained in:
committed by
YeonGyu-Kim
parent
538a92ab12
commit
a206daa437
@@ -51,7 +51,7 @@ describe("createBuiltinAgents with model overrides", () => {
|
||||
expect(agents.sisyphus.thinking).toBeUndefined()
|
||||
})
|
||||
|
||||
test("Atlas uses uiSelectedModel when provided", async () => {
|
||||
test("Atlas does not use uiSelectedModel (respects its own fallback chain)", async () => {
|
||||
// #given
|
||||
const fetchSpy = spyOn(shared, "fetchAvailableModels").mockResolvedValue(
|
||||
new Set(["openai/gpt-5.2", "anthropic/claude-sonnet-4-6"])
|
||||
@@ -75,7 +75,7 @@ describe("createBuiltinAgents with model overrides", () => {
|
||||
|
||||
// #then
|
||||
expect(agents.atlas).toBeDefined()
|
||||
expect(agents.atlas.model).toBe("openai/gpt-5.2")
|
||||
expect(agents.atlas.model).toBe("anthropic/claude-sonnet-4-5")
|
||||
} finally {
|
||||
fetchSpy.mockRestore()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user