We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2db45fe + fae6e1b commit 1022c64Copy full SHA for 1022c64
cli/switch_test.go
@@ -6,6 +6,8 @@ import (
6
"path/filepath"
7
"testing"
8
9
+ "github.com/charmbracelet/lipgloss"
10
+ "github.com/muesli/termenv"
11
"github.com/stretchr/testify/assert"
12
)
13
@@ -116,6 +118,7 @@ func TestSwitchCommand(t *testing.T) {
116
118
}
117
119
120
func setupConfig(t *testing.T, tc testCase) string {
121
+ lipgloss.SetColorProfile(termenv.Ascii)
122
tempDir := t.TempDir() // unique temp dir for each test and cleaned up after test finishes
123
configPath := filepath.Join(tempDir, "config.yaml")
124
if tc.configExists {
0 commit comments