mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-03-25 22:01:14 +02:00
Merge pull request #1419 from mrgarelli/1418_bug_tests_ForceSetColorLevel
1418 Fixing test failure due to ColorLevel in test renderers
This commit is contained in:
commit
fd8cb6e6d7
@ -3,11 +3,15 @@ package filetree
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/gookit/color"
|
||||
"github.com/jesseduffield/lazygit/pkg/commands/models"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/xo/terminfo"
|
||||
)
|
||||
|
||||
func TestRender(t *testing.T) {
|
||||
color.ForceSetColorLevel(terminfo.ColorLevelNone)
|
||||
|
||||
scenarios := []struct {
|
||||
name string
|
||||
root *FileNode
|
||||
|
Loading…
x
Reference in New Issue
Block a user