chore: initial project setup

This commit is contained in:
Stevan Freeborn
2026-07-04 08:46:05 -05:00
commit 56bf4b7d11
10 changed files with 84 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
vim.opt.runtimepath:append(".")
vim.opt.runtimepath:append(".tests/vendor/plenary.nvim")
print("Minimal init loaded successfully!")
+17
View File
@@ -0,0 +1,17 @@
local plugin = require("watchexec")
describe("watchexec logic", function()
before_each(function()
plugin.setup({
greeting = "Hello Test!"
})
end)
it("can be required without errors", function()
assert.not_nil(plugin)
end)
it("correctly applies user configuration", function()
assert.equals("Hello Test!", plugin.config.greeting)
end)
end)