Skip to content

Commit

Permalink
fix: tests & ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP committed May 17, 2024
1 parent a0c3020 commit 3767179
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/minimal_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ function M.setup()
end

vim.o.swapfile = false
vim.treesitter.start = function() end
_G.__TEST = true

M.setup()
1 change: 1 addition & 0 deletions test/spec/e2e_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ describe("e2e", function()
describe("cached generator", function()
local actions, null_ls_action
before_each(function()
sources._reset()
sources.register(builtins._test.cached_code_action)
tu.edit_test_file("test-file.txt")
tu.wait()
Expand Down

0 comments on commit 3767179

Please sign in to comment.