Skip to content

Commit

Permalink
[fix] Update main "quit" test to load default keymaps
Browse files Browse the repository at this point in the history
  • Loading branch information
oz committed Oct 15, 2024
1 parent 09a657c commit 4ac8666
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,9 @@ func TestUpdateQuitMsg(t *testing.T) {
}

m := model{
zones: DefaultZones,
clock: *NewClock(getTimestampWithHour(-1)),
zones: DefaultZones,
keymaps: NewDefaultConfig().Keymaps,
clock: *NewClock(getTimestampWithHour(-1)),
}
_, cmd := m.Update(msg)
if cmd == nil {
Expand Down

0 comments on commit 4ac8666

Please sign in to comment.