added busted.lua

This commit is contained in:
Thomas Bell 2025-08-25 12:22:05 -06:00
commit 8934a7f6a3
3 changed files with 17 additions and 0 deletions

View file

@ -1,5 +1,6 @@
return {
_all = {
lua = "./tests/bootstrap-busted.sh",
coverage = false,
},
default = {

2
tests/bootstrap-busted.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
nvim -l ./tests/busted.lua $@

14
tests/busted.lua Normal file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env -S nvim -l
vim.env.LAZY_STDPATH = ".tests"
load(vim.fn.system("cat $(pwd)/bootstrap.lua"))()
--
-- -- Setup lazy.nvim
require("lazy.minit").busted({
spec = {
"LazyVim/starter",
"williamboman/mason-lspconfig.nvim",
"williamboman/mason.nvim",
"nvim-treesitter/nvim-treesitter",
},
})