From 55887918e3301dc2cc0269f1b4e56120c53c57c4 Mon Sep 17 00:00:00 2001 From: Caleb Foust Date: Thu, 2 Nov 2023 06:04:33 -0400 Subject: [PATCH] fix: tests --- pkg/bind/bind_test.go | 1 + pkg/cy/cy_test.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/bind/bind_test.go b/pkg/bind/bind_test.go index 2c318970..3bb8bb9c 100644 --- a/pkg/bind/bind_test.go +++ b/pkg/bind/bind_test.go @@ -59,6 +59,7 @@ func TestAction(t *testing.T) { assert.Equal(t, ActionEvent[int]{ Action: 2, Source: scope, + Sequence: []string{"ctrl+a"}, }, event) } diff --git a/pkg/cy/cy_test.go b/pkg/cy/cy_test.go index 2fa49ec6..907f58c5 100644 --- a/pkg/cy/cy_test.go +++ b/pkg/cy/cy_test.go @@ -200,7 +200,7 @@ func TestPaneKill(t *testing.T) { (pane/attach shell) (tree/kill shell) `)) - time.Sleep(100 * time.Millisecond) // lol + time.Sleep(1 * time.Second) // lol leaves := server.cy.tree.Leaves() require.Equal(t, leaves[0].Id(), client.Node().Id()) }