From a631564615da80cc7d016526cf876e7c0d08c8af Mon Sep 17 00:00:00 2001 From: Cameron Ring Date: Tue, 27 Aug 2024 10:09:47 -0700 Subject: [PATCH] test: make mini test delay longer for windows --- tests/mini-tests/test_ui.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/mini-tests/test_ui.lua b/tests/mini-tests/test_ui.lua index 9d5f401..4fe69a4 100644 --- a/tests/mini-tests/test_ui.lua +++ b/tests/mini-tests/test_ui.lua @@ -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 "" -- give the session time to load @@ -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 "" - vim.loop.sleep(100) + vim.loop.sleep(250) expect.equality(0, vim.fn.filereadable(TL.named_session_path)) end