summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts
diff options
context:
space:
mode:
authorN. Taylor Mullen <[email protected]>2025-06-15 16:05:40 -0700
committerGitHub <[email protected]>2025-06-15 16:05:40 -0700
commit4463671284a41822b84ad4a2ecedbf007c078491 (patch)
tree9e6cd2ee3e062d339ec03921e6c7ddb601697342 /packages/cli/src/ui/hooks/slashCommandProcessor.test.ts
parent101b6fe767eba2063687ec30797e729decf3f6db (diff)
refactor(cli): Use excludeTools for non-interactive mode (#1072)
Diffstat (limited to 'packages/cli/src/ui/hooks/slashCommandProcessor.test.ts')
-rw-r--r--packages/cli/src/ui/hooks/slashCommandProcessor.test.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts
index adbfac61..497104b9 100644
--- a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts
+++ b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts
@@ -427,6 +427,9 @@ Add any other context about the problem here.
});
it('should use the custom bug command URL from config if available', async () => {
+ process.env.CLI_VERSION = '0.1.0';
+ process.env.SANDBOX = 'sandbox-exec';
+ process.env.SEATBELT_PROFILE = 'permissive-open';
const bugCommand = {
urlTemplate:
'https://custom-bug-tracker.com/new?title={title}&body={body}',
@@ -449,7 +452,7 @@ Add any other context about the problem here.
* **CLI Version:** 0.1.0
* **Git Commit:** ${GIT_COMMIT_INFO}
* **Operating System:** test-platform test-node-version
-* **Sandbox Environment:** no sandbox
+* **Sandbox Environment:** sandbox-exec (permissive-open)
* **Model Version:** test-model
* **Memory Usage:** 11.8 MB
`;