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:
@@ -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,
|
||||
)
|
||||
|
Reference in New Issue
Block a user