Skip to content

Commit 6f60150

Browse files
committed
fix(test): launch protocol fixtures with clean Neovim
1 parent 3cbad7f commit 6f60150

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/e2e/dap_spec.lua‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ T["DAP-E2E-03 runs and terminates a hermetic adapter through AstroNvim mappings"
9191
dap.adapters.astronvim_fixture = {
9292
type = "executable",
9393
command = nvim,
94-
args = { "--headless", "-l", %s },
94+
args = { "--headless", "--clean", "-u", "NONE", "-l", %s },
9595
}
9696
local source = %s
9797
local launch_path = vim.fs.joinpath(vim.fs.dirname(source), ".vscode", "launch.json")

‎tests/e2e/lsp_spec.lua‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ T["LSP-E2E-01 attaches a real local server, registers a capability, and formats"
3131
local probe = vim.system({ nvim, "--headless", "--clean", "-u", "NONE", "+qa" }, { text = true }):wait()
3232
assert(probe.code == 0, ("Unable to launch the child Neovim executable: %%s"):format(vim.inspect(probe)))
3333
vim.lsp.config("astronvim-e2e-lsp", {
34-
cmd = { nvim, "--headless", "-l", server },
34+
cmd = { nvim, "--headless", "--clean", "-u", "NONE", "-l", server },
3535
root_dir = project,
3636
filetypes = { "text" },
3737
})

0 commit comments

Comments
 (0)