mirror of
https://github.com/neovim/neovim.git
synced 2026-01-21 12:20:35 +00:00
Problem: The `add` startup tests mock startup process which requires *some* amount of time to be done. Previous solution with `vim.wait` to wait just enough time to register that startup script has finished doesn't seem to work as intended (it just wait full time). Its timeout is also seems to be barely enough to pass on Windows CI. Which will be a problem with more `git` actions done on startup in the future/next commit. Solution: Just sleep predetermined amount of time and explicitly check if startup script finished executing.