Skip to content

Commit

Permalink
test: make mini test delay longer for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronr committed Aug 27, 2024
1 parent 889326a commit a631564
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/mini-tests/test_ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ T["session lens"]["can load a session"] = function()
expect.equality(0, child.fn.bufexists(TL.test_file))
child.cmd "SessionSearch"
-- give the UI time to come up
vim.loop.sleep(100)
vim.loop.sleep(250)
child.type_keys "project_x"
child.type_keys "<cr>"
-- give the session time to load
Expand All @@ -67,10 +67,10 @@ T["session lens"]["can delete a session"] = function()
expect.equality(1, vim.fn.filereadable(TL.named_session_path))
child.cmd "SessionSearch"
-- give the UI time to come up
vim.loop.sleep(100)
vim.loop.sleep(250)
child.type_keys "mysession"
child.type_keys "<c-d>"
vim.loop.sleep(100)
vim.loop.sleep(250)
expect.equality(0, vim.fn.filereadable(TL.named_session_path))
end

Expand Down

0 comments on commit a631564

Please sign in to comment.