test(codex): keep dynamic tool helper tests fast

This commit is contained in:
Vincent Koc
2026-05-17 01:12:11 +08:00
parent 2640244d35
commit d13749b2fc

View File

@@ -817,7 +817,7 @@ describe("runCodexAppServerAttempt", () => {
} satisfies EmbeddedRunAttemptParams["authProfileStore"];
params.disableTools = false;
params.authProfileStore = authProfileStore;
params.runtimePlan = createCodexRuntimePlanFixture();
const factoryOptions: unknown[] = [];
__testing.setOpenClawCodingToolsFactoryForTests((options) => {
factoryOptions.push(options);
@@ -864,7 +864,6 @@ describe("runCodexAppServerAttempt", () => {
harnessId: "codex",
},
};
const factoryOptions: unknown[] = [];
__testing.setOpenClawCodingToolsFactoryForTests((options) => {
factoryOptions.push(options);