mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Add demo test variant
We're piggybacking on our existing integration test framework to record demos that we can include in our docs
This commit is contained in:
parent
71d2fd37e2
commit
9cc1d65280
32 changed files with 891 additions and 12 deletions
|
@ -181,3 +181,7 @@ func (self *guiCommon) AfterLayout(f func() error) {
|
|||
self.gui.c.Log.Error("afterLayoutFuncs channel is full, skipping function")
|
||||
}
|
||||
}
|
||||
|
||||
func (self *guiCommon) InDemo() bool {
|
||||
return self.gui.integrationTest != nil && self.gui.integrationTest.IsDemo()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue