Przeglądaj źródła

test(subagent): use platform Codex argv

pku-xht 3 tygodni temu
rodzic
commit
a3fc0b5ecd

+ 1 - 1
packages/subagent/subagent-codex/tests/subagent-codex.spec.ts

@@ -1957,7 +1957,7 @@ describe('run lifecycle and quiescence', () => {
       stopReason: 'error',
     })
     expect(spawn).toHaveBeenCalledWith(expect.objectContaining({
-      argv: ['codex', 'app-server', '--stdio'],
+      argv: codexAppServerArgv(),
       env: { OPENAI_API_KEY: 'fake' },
       graceMs: 25,
       cwd: process.cwd(),