mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 22:54:31 +00:00
test: stabilize cross-platform regression suites (#31594)
This commit is contained in:
@@ -385,6 +385,19 @@ describe("runCronIsolatedAgentTurn", () => {
|
||||
|
||||
it("applies model overrides with correct precedence", async () => {
|
||||
await withTempHome(async (home) => {
|
||||
vi.mocked(loadModelCatalog).mockResolvedValue([
|
||||
{
|
||||
id: "gpt-4.1-mini",
|
||||
name: "GPT-4.1 Mini",
|
||||
provider: "openai",
|
||||
},
|
||||
{
|
||||
id: "claude-opus-4-5",
|
||||
name: "Claude Opus 4.5",
|
||||
provider: "anthropic",
|
||||
},
|
||||
]);
|
||||
|
||||
let res = (
|
||||
await runCronTurn(home, {
|
||||
jobPayload: {
|
||||
|
||||
Reference in New Issue
Block a user