feat(theme): token semantik Catppuccin (Mocha/Latte/terminal) + mode auto via tea.BackgroundColorMsg + tombol T
CI / test (push) Successful in 11s
CI / test (push) Successful in 11s
This commit is contained in:
1 parent
c65d2cb75d
commit
8b2a86877e
13 files changed
+428
-37
No files matched your search
@@ -275,6 +275,19 @@ func TestDoctorUsesConfigStacksDir(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestThemeCycle(t *testing.T) {
|
||||
u := startTUI(t)
|
||||
u.waitContains("beranda", 5*time.Second)
|
||||
u.send("T") // auto → dark, toast memberi umpan balik visual
|
||||
u.waitContains("Mode tema", 3*time.Second)
|
||||
u.send("T") // dark → light
|
||||
u.send("T") // light → terminal
|
||||
u.send("q")
|
||||
if code := u.waitExit(5 * time.Second); code != 0 {
|
||||
t.Fatalf("exit code %d, mau 0", code)
|
||||
}
|
||||
}
|
||||
|
||||
func TestEnglishLanguage(t *testing.T) {
|
||||
u := startTUIEnv(t, "TIA_LANG=en")
|
||||
u.waitContains("· home", 5*time.Second)
|
||||
|
||||
Reference in new issue
Block a user