mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
another integration test
This commit is contained in:
parent
77881a9c7d
commit
225c563c63
46 changed files with 326 additions and 26 deletions
|
@ -21,10 +21,15 @@ func (gui *Gui) handleTestMode() {
|
|||
go func() {
|
||||
time.Sleep(time.Millisecond * 100)
|
||||
|
||||
shell := &integration.ShellImpl{}
|
||||
assert := &AssertImpl{gui: gui}
|
||||
keys := gui.Config.GetUserConfig().Keybinding
|
||||
input := NewInputImpl(gui, keys, assert, integration.KeyPressDelay())
|
||||
|
||||
test.Run(
|
||||
&integration.ShellImpl{},
|
||||
&InputImpl{g: gui.g, keys: gui.Config.GetUserConfig().Keybinding},
|
||||
&AssertImpl{gui: gui},
|
||||
shell,
|
||||
input,
|
||||
assert,
|
||||
gui.c.UserConfig.Keybinding,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue