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
108 terminalId: "setup-default-setup",108 terminalId: "setup-default-setup",
109 cwd: "/repo/worktrees/a",109 cwd: "/repo/worktrees/a",
110 worktreePath: "/repo/worktrees/a",110 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 },
112 });116 });
113 expect(write).toHaveBeenCalledWith({117 expect(write).toHaveBeenCalledWith({
114 threadId: "thread-1",118 threadId: "thread-1",
@@ -207,6 +211,7 @@ describe("ProjectSetupScriptRunner", () => { · 92 unmodified lines
207 env: {211 env: {
208 T3CODE_PROJECT_ROOT: "/repo/project",212 T3CODE_PROJECT_ROOT: "/repo/project",
209 T3CODE_WORKTREE_PATH: "/repo/worktrees/a",213 T3CODE_WORKTREE_PATH: "/repo/worktrees/a",
214 COLORTERM: "",
210 },215 },
211 });216 });
212 expect(write).toHaveBeenCalledWith({217 expect(write).toHaveBeenCalledWith({