1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-07 22:02:56 +03:00

Provide a simple way to debug an integration test

This commit is contained in:
Stefan Haller
2023-09-09 15:00:58 +02:00
parent 28d12e4e5d
commit b6c892a08a
22 changed files with 975 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ import (
// If invoked directly, you can specify tests to run by passing their names as positional arguments
func RunCLI(testNames []string, slow bool, sandbox bool) {
func RunCLI(testNames []string, slow bool, sandbox bool, waitForDebugger bool) {
inputDelay := tryConvert(os.Getenv("INPUT_DELAY"), 0)
if slow {
inputDelay = SLOW_INPUT_DELAY
@@ -35,6 +35,7 @@ func RunCLI(testNames []string, slow bool, sandbox bool) {
runCmdInTerminal,
runAndPrintFatalError,
sandbox,
waitForDebugger,
inputDelay,
1,
)