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

Don't wait in integration tests when running in headless mode

There's no point in spending time waiting in this case, as nobody can see it.
This commit is contained in:
Stefan Haller
2024-06-05 11:11:25 +02:00
parent 187a2f0cc2
commit 4f6d3fb592
5 changed files with 12 additions and 2 deletions

View File

@ -84,6 +84,8 @@ func (self *fakeGuiDriver) NextToast() *string {
func (self *fakeGuiDriver) CheckAllToastsAcknowledged() {}
func (self *fakeGuiDriver) Headless() bool { return false }
func TestManualFailure(t *testing.T) {
test := NewIntegrationTest(NewIntegrationTestArgs{
Description: unitTestDescription,