feat: implement health checks

This commit is contained in:
Stevan Freeborn
2026-07-04 11:05:50 -05:00
parent 56bf4b7d11
commit 65dff6cca7
8 changed files with 197 additions and 14 deletions
+11 -11
View File
@@ -1,17 +1,17 @@
local plugin = require("watchexec")
describe("watchexec logic", function()
before_each(function()
plugin.setup({
greeting = "Hello Test!"
})
end)
before_each(function()
plugin.setup({
greeting = "Hello Test!",
})
end)
it("can be required without errors", function()
assert.not_nil(plugin)
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)
it("correctly applies user configuration", function()
assert.equals("Hello Test!", plugin.config.greeting)
end)
end)