diff options
Diffstat (limited to 'internal/hexaiaction/custom_action_test.go')
| -rw-r--r-- | internal/hexaiaction/custom_action_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/hexaiaction/custom_action_test.go b/internal/hexaiaction/custom_action_test.go index 71319f4..4808079 100644 --- a/internal/hexaiaction/custom_action_test.go +++ b/internal/hexaiaction/custom_action_test.go @@ -20,6 +20,8 @@ func (llmFake2) Name() string { return "fake" } func (llmFake2) DefaultModel() string { return "m" } func TestActionCustom_UsesEditorPrompt(t *testing.T) { + // Isolate from user config that might enable custom menu/TUI. + t.Setenv("XDG_CONFIG_HOME", t.TempDir()) // Seam: choose custom, fake client, and fake editor oldChoose := chooseActionFn oldNew := newClientFromApp |
