test: fix oxfmt in auth-profile-propagation, add timeout for wizard contract on Windows
Made-with: Cursor
This commit is contained in:
parent
a0395bb71b
commit
9488fff7d5
@ -14,13 +14,13 @@ import {
|
||||
import { setupIsolatedAgentTurnMocks } from "./isolated-agent.test-setup.js";
|
||||
|
||||
describe("runCronIsolatedAgentTurn auth profile propagation (#20624)", () => {
|
||||
const timeoutMs = process.platform === "win32" ? 240_000 : 120_000;
|
||||
|
||||
beforeEach(() => {
|
||||
setupIsolatedAgentTurnMocks({ fast: true });
|
||||
});
|
||||
|
||||
it(
|
||||
"passes authProfileId to runEmbeddedPiAgent when auth profiles exist",
|
||||
async () => {
|
||||
it("passes authProfileId to runEmbeddedPiAgent when auth profiles exist", async () => {
|
||||
await withTempCronHome(async (home) => {
|
||||
const storePath = await writeSessionStore(home, { lastProvider: "webchat", lastTo: "" });
|
||||
|
||||
@ -86,7 +86,5 @@ describe("runCronIsolatedAgentTurn auth profile propagation (#20624)", () => {
|
||||
|
||||
expect(callArgs?.authProfileId).toBe("openrouter:default");
|
||||
});
|
||||
},
|
||||
process.platform === "win32" ? 240_000 : 120_000,
|
||||
);
|
||||
}, timeoutMs);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user