Skip to content

Commit 336d6db

Browse files
committed
ci: fix flakey keymap test
1 parent fb5f50f commit 336d6db

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/win_spec.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,10 @@ T["win"]["keymap"]["no error"] = function()
147147
return child.lua_get([[_G._fzf_load_called]]) == true
148148
end)
149149
child.type_keys(key)
150-
if helpers.IS_WIN() then child.type_keys("<c-c>") end
150+
child.type_keys("<c-c>")
151+
child.wait_until(function()
152+
return child.lua_get([[_G._fzf_load_called]]) == vim.NIL
153+
end)
151154
end
152155
end
153156
end

0 commit comments

Comments
 (0)