Commit 3bcf3e7
Clear agent environment variables in acceptance tests (#4344)
## Changes
Agent detection environment variables (`CLAUDECODE`, `GEMINI_CLI`,
`CURSOR_AGENT`) were causing the `User-Agent` header to include agent
information in acceptance test output. This made tests fail when run
from within Claude Code or other agent environments.
Moved the agent environment variable clearing from the bundle-specific
test.toml to the root test.toml so it applies to all tests globally.
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 5c0467c commit 3bcf3e7
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
0 commit comments