MCPcopy Create free account
hub / github.com/SethGammon/Citadel / testDocsMatrix

Function testDocsMatrix

scripts/test-codex-native-integrations.js:170–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168 assert(execArgs.includes('--json'), 'codex exec benchmark should stream JSON for machine parsing');
169 assert(execArgs.includes('--output-last-message'), 'codex exec benchmark should capture final answer');
170
171 const resumeArgs = buildCodexExecArgs({ projectRoot: tmp, resumeSessionId: 'thread-123', prompt: 'continue' });
172 assert.deepEqual(resumeArgs.slice(0, 4), ['exec', 'resume', '--cd', tmp]);
173
174 const fleet = createFleetExecutionPlan({ projectRoot: tmp, write: true });
175 assert.equal(fleet.mode, 'codex-subagents');
176 assert(fs.existsSync(path.join(tmp, '.planning', 'fleet', 'codex-native-plan.json')));
177
178 fs.mkdirSync(path.join(tmp, '.codex'), { recursive: true });
179 fs.writeFileSync(path.join(tmp, '.codex', 'config.toml'), '[windows]\nsandbox = "elevated"\nagent_shell = "git-bash"\n', 'utf8');
180 const windows = detectWindowsCodexSetup({ projectRoot: tmp, platform: 'win32' });
181 assert(windows.pass, 'Windows Codex setup check should pass with sandbox and shell config');

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected