chores: more test for debounce (#1079)
This commit is contained in:
parent
bd8afce3b0
commit
2d5306b55c
@ -154,6 +154,9 @@ describe("Utils", function()
|
||||
-- Second call should cancel first
|
||||
debounced(233)
|
||||
|
||||
-- Count should still be 0
|
||||
assert.equals(0, count)
|
||||
|
||||
-- Wait for timeout
|
||||
vim.wait(200, function() return false end)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user