History

fix(server): avoid color probe hangs in setup terminals

Julius Marminge committed 2 months ago

Commit e1da3351 parent 00d61094 files · +21 −8Browse files

Showing the changes to apps/server/src/project/ProjectSetupScriptRunner.test.ts (1 of 4 files). Show all

Unified · Split

apps/server/src/project/ProjectSetupScriptRunner.test.ts+6−1
@@ -108,7 +108,11 @@ describe("ProjectSetupScriptRunner", () => { · 107 unmodified lines
108108 terminalId: "setup-default-setup",
109109 cwd: "/repo/worktrees/a",
110110 worktreePath: "/repo/worktrees/a",
111− env: { T3CODE_PROJECT_ROOT: "/repo/project", T3CODE_WORKTREE_PATH: "/repo/worktrees/a" },
111+ env: {
112+ T3CODE_PROJECT_ROOT: "/repo/project",
113+ T3CODE_WORKTREE_PATH: "/repo/worktrees/a",
114+ COLORTERM: "",
115+ },
112116 });
113117 expect(write).toHaveBeenCalledWith({
114118 threadId: "thread-1",
@@ -207,6 +211,7 @@ describe("ProjectSetupScriptRunner", () => { · 92 unmodified lines
207211 env: {
208212 T3CODE_PROJECT_ROOT: "/repo/project",
209213 T3CODE_WORKTREE_PATH: "/repo/worktrees/a",
214+ COLORTERM: "",
210215 },
211216 });
212217 expect(write).toHaveBeenCalledWith({