Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 83be35c

Browse files
test(aider): streamline tmux session verification in tests by simplifying output checks
1 parent d7f22a4 commit 83be35c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

aider/main.test.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,8 @@ describe("aider", async () => {
7373
// Install bash and run the script
7474
const output = await executeScriptInContainerWithBash(state);
7575

76-
// Print the full output for debugging
77-
console.log(JSON.stringify(output.stdout));
78-
79-
// Since the script doesn't reach the installation part in our test environment,
80-
// Just check if it's trying to start a tmux session at all
81-
const found = output.stdout.find(line => line.includes("Starting persistent Aider session..."));
82-
expect(found).toBeDefined();
76+
// Verify that the script at least attempts to start a tmux session
77+
expect(output.stdout).toContain("Starting persistent Aider session...");
8378
});
8479

8580
it("configures task reporting when enabled", async () => {

0 commit comments

Comments
 (0)