test(coding-agent): force project config in stdout tests

This commit is contained in:
Armin Ronacher
2026-06-03 00:21:32 +02:00
Unverified
parent da53ac4c18
commit 4e53a4141a
@@ -81,7 +81,7 @@ async function runCli(args: string[]): Promise<{ stdout: string; stderr: string;
describe("stdout cleanliness in non-interactive modes", () => {
it("keeps stdout empty for --mode json --help while routing startup chatter to stderr", async () => {
const result = await runCli(["--mode", "json", "--help"]);
const result = await runCli(["--mode", "json", "--force", "--help"]);
expect(result.code).toBe(0);
expect(result.stdout).toBe("");
@@ -91,7 +91,7 @@ describe("stdout cleanliness in non-interactive modes", () => {
});
it("keeps stdout empty for -p --help while routing startup chatter to stderr", async () => {
const result = await runCli(["-p", "--help"]);
const result = await runCli(["-p", "--force", "--help"]);
expect(result.code).toBe(0);
expect(result.stdout).toBe("");