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)