ln = require "ln" describe "moonscript tests", -> lgr = ln.default_logger msg = "" lgr.filters = { (message) -> msg = message, } it "can log", -> ln.log {foo: "bar"} assert.truthy string.find msg, "foo=bar"