summaryrefslogtreecommitdiffstats
path: root/pkg/integration/clients/cli.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/integration/clients/cli.go')
-rw-r--r--pkg/integration/clients/cli.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/integration/clients/cli.go b/pkg/integration/clients/cli.go
index 9ff5453f0..10958c164 100644
--- a/pkg/integration/clients/cli.go
+++ b/pkg/integration/clients/cli.go
@@ -8,6 +8,7 @@ import (
"strconv"
"strings"
+ "github.com/jesseduffield/lazycore/pkg/utils"
"github.com/jesseduffield/lazygit/pkg/integration/components"
"github.com/jesseduffield/lazygit/pkg/integration/tests"
"github.com/samber/lo"
@@ -53,7 +54,7 @@ func runAndPrintFatalError(test *components.IntegrationTest, f func() error) {
}
func getTestsToRun(testNames []string) []*components.IntegrationTest {
- allIntegrationTests := tests.GetTests()
+ allIntegrationTests := tests.GetTests(utils.GetLazyRootDirectory())
var testsToRun []*components.IntegrationTest
if len(testNames) == 0 {