Skip to content

Commit d9ac62e

Browse files
committed
test(replay): ability to re-run all
1 parent 4872ba5 commit d9ac62e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/manual/streaming_renderer_replay.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ end
100100
function M.replay_all(delay_ms)
101101
if #M.events == 0 then
102102
M.load_events()
103+
elseif M.current_index == #M.events then
104+
M.reset()
103105
end
104106

105107
delay_ms = delay_ms or 50
@@ -143,7 +145,6 @@ function M.reset()
143145
M.replay_stop()
144146
M.current_index = 0
145147
M.clear()
146-
vim.notify('Reset complete. Ready to replay.', vim.log.levels.INFO)
147148
end
148149

149150
function M.show_status()

0 commit comments

Comments
 (0)