show file tree by default in integration tests

This commit is contained in:
Jesse Duffield 2023-02-26 12:56:08 +11:00
parent f7e8b2dd71
commit 45d45d2397
5 changed files with 6 additions and 14 deletions

View file

@ -10,9 +10,7 @@ var DirWithUntrackedFile = NewIntegrationTest(NewIntegrationTestArgs{
Description: "When selecting a directory that contains an untracked file, we should not get an error",
ExtraCmdArgs: "",
Skip: false,
SetupConfig: func(config *config.AppConfig) {
config.UserConfig.Gui.ShowFileTree = true
},
SetupConfig: func(config *config.AppConfig) {},
SetupRepo: func(shell *Shell) {
shell.CreateDir("dir")
shell.CreateFile("dir/file", "foo")