Files
Christian van Dijk 59ddc66a8e
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
🧱 add tests & ci changes
2026-02-23 22:52:54 +01:00

20 lines
461 B
Lua

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)