chores: more test for debounce (#1079)

This commit is contained in:
yetone
2025-01-14 20:11:42 +08:00
committed by GitHub
parent bd8afce3b0
commit 2d5306b55c

View File

@@ -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)