🧱 add tests & ci changes
All checks were successful
CI / Lint (push) Successful in 21s
CI / Helm Lint (push) Successful in 6s
CI / Build (push) Successful in 1m48s
CI / Test (push) Successful in 44s

This commit is contained in:
Christian van Dijk
2026-02-23 22:52:54 +01:00
parent dbbe991a3d
commit 59ddc66a8e
10 changed files with 309 additions and 72 deletions

View File

@@ -0,0 +1,19 @@
describe("log", function()
local log
before_each(function()
log = require("log")
end)
it("exposes info, warn, error functions", function()
assert.is_function(log.info)
assert.is_function(log.warn)
assert.is_function(log.error)
end)
it("calls info without error", function()
assert.has_no.errors(function()
log.info("test message", { component = "test" })
end)
end)
end)