We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a92e640 commit b3aca65Copy full SHA for b3aca65
tests/unit/timer_spec.lua
@@ -54,7 +54,7 @@ describe('Timer', function()
54
it('starts a repeating timer', function()
55
local tick_count = 0
56
timer = Timer.new({
57
- interval = 10,
+ interval = 100,
58
on_tick = function()
59
tick_count = tick_count + 1
60
end,
@@ -64,7 +64,7 @@ describe('Timer', function()
64
assert.is_true(timer:is_running())
65
66
-- Wait for multiple ticks
67
- vim.wait(80, function()
+ vim.wait(500, function()
68
return tick_count >= 3
69
end)
70
@@ -367,4 +367,3 @@ describe('Timer', function()
367
368
369
370
-
0 commit comments