Files
arr-tui/internal/ui/main_test.go
T

14 lines
277 B
Go

package ui
import (
"os"
"testing"
)
// TestMain keeps the tests from asking the real terminal about graphics
// support (the probe writes to and reads from /dev/tty).
func TestMain(m *testing.M) {
kittyGraphicsSupported = func() bool { return false }
os.Exit(m.Run())
}