Software /
code /
prosody
File
spec/util_poll_spec.lua @ 11040:c560531d9a6e
mod_external_services: Validate services added via events
While writing developer documentation it became obvious that i was silly
to have one item format for config and items API, and another format for
the event API.
Then there's the stanza format, but that's a common pattern.
This change reduces the possible input formats to two and allows other
modules the benefit of the processing and validation performed on items
from the config.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 17 Aug 2020 00:24:11 +0200 |
parent | 9316:4aa522b9e1c4 |
child | 12400:728d1c1dc7db |
line wrap: on
line source
describe("util.poll", function () it("loads", function () require "util.poll" end); end);