Skip to content

Commit 9d728ef

Browse files
committed
test(notify): make update() test more robust
1 parent 26b62a5 commit 9d728ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_notify.lua

+1
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ T['update()'] = new_set()
389389
local update = forward_lua('MiniNotify.update')
390390

391391
T['update()']['works'] = function()
392+
mock_gettimeofday()
392393
child.lua([[
393394
MiniNotify.config.content.format = function(notif)
394395
return (notif.data.a > 10 and 'NEW' or 'OLD') .. ' ' .. notif.msg

0 commit comments

Comments
 (0)