Skip to content

Commit bd144ab

Browse files
committed
test(replay): suppress no opencode project errors
1 parent b3b3b39 commit bd144ab

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/helpers.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ function M.replay_setup()
1515
config_file.project_promise = empty_promise
1616
config_file.providers_promise = empty_promise
1717

18+
---@diagnostic disable-next-line: duplicate-set-field
19+
require('opencode.session').project_id = function()
20+
return nil
21+
end
22+
1823
state.windows = ui.create_windows()
1924

2025
-- we don't change any changes on session

0 commit comments

Comments
 (0)