Skip to content

Commit c0a8d3e

Browse files
committed
test: add helper function
1 parent 5a08ab9 commit c0a8d3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/child_helper.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ function M.new_child_neovim(test_name)
6767
child.lua("M = require('copilot')")
6868
end
6969

70+
function child.reset_suggested()
71+
child.lua("M.suggested = false")
72+
end
73+
7074
function child.configure_copilot()
7175
local script = ""
7276
for k, v in pairs(child.config) do

0 commit comments

Comments
 (0)