This commit is contained in:
ldraney 2024-03-24 13:36:25 -06:00
parent dbba54cfd8
commit 6380f390ea
26 changed files with 2704 additions and 0 deletions

View file

@ -0,0 +1,28 @@
-- Mock setup
_G.vim = {
wo = {}, -- Window-scoped options
bo = {}, -- Buffer-scoped options
-- Add more fields as needed
}
-- Example usage in a test case
describe("My Neovim Function", function()
it("does something", function()
-- Test code that uses the mock `vim` object
end)
end)
local tmux_split_even_horizontal = require('tmux_split_even_horizontal')
describe("tmux_split_even_horizontal", function()
local tmux_split_even_horizontal = require('tmux_split_even_horizontal')
it("should not throw errors", function()
assert.has_no.errors(function()
tmux_split_even_horizontal.tmux_split_even_horizontal()
end)
end)
-- Additional tests can be added here
end)