| ... | ... | @@ -3150,7 +3150,8 @@ describe("ClaudeAdapterV2 background wake turns", () => { |
| 3150 | 3150 | it.effect("names an expired Claude login instead of the terminal API error", () => |
| 3151 | 3151 | Effect.gen(function* () { |
| 3152 | 3152 | const configDir = "/synthetic/Claude config"; |
| 3153 | | const cwd = "/synthetic/project"; |
| 3153 | // The adapter resolves the cwd on the host, which adds a drive letter on Windows. |
| 3154 | const cwd = NodePath.resolve("/synthetic/project"); |
| 3154 | 3155 | const harness = yield* makeWakeHarnessWithOptions({ |
| 3155 | 3156 | environment: { CLAUDE_CONFIG_DIR: configDir }, |
| 3156 | 3157 | }); |
| ... | ... | @@ -3187,7 +3188,8 @@ describe("ClaudeAdapterV2 background wake turns", () => { |
| 3187 | 3188 | if (terminal.status !== "failed") return; |
| 3188 | 3189 | assert.include(terminal.failure.message, "run `claude auth login`"); |
| 3189 | 3190 | assert.include(terminal.failure.message, configDir); |
| 3190 | | assert.include(terminal.failure.message, cwd); |
| 3191 | // The message quotes its paths, which escapes Windows separators. |
| 3192 | assert.include(terminal.failure.message, JSON.stringify(cwd)); |
| 3191 | 3193 | assert.notInclude(terminal.failure.message, "repeated API errors"); |
| 3192 | 3194 | }).pipe( |
| 3193 | 3195 | Effect.provide( |