mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
test: fix flaky watchfiles tests (#22637)
This commit is contained in:
@@ -126,6 +126,8 @@ describe('vim._watch', function()
|
||||
expected_events = expected_events + 1
|
||||
wait_for_events()
|
||||
|
||||
vim.wait(100)
|
||||
|
||||
local watched_path = root_dir .. '/file'
|
||||
local watched, err = io.open(watched_path, 'w')
|
||||
assert(not err, err)
|
||||
|
||||
Reference in New Issue
Block a user