-- Tests run in the client, with its native modules, and replace them and
-- their fields to stand in for them; hub's tests also reach into HUB.
-- A fake's methods take self as the native's do, used or not, and a
-- protocol line or a literal table reads better whole than wrapped.
return {
std = "lua54",
self = false,
max_line_length = false,
globals = {
    "HUB", "snowcone", "ncurses", "tty_height", "tty_width",
    "myopenssl", "mybase64", "mytoml", "mystringprep", "mygeoip", "myhunspell",
},
files = {
    -- its listener and timer are global so they outlive its reload
    ["script-httpd.lua"] = {globals = {"SERVER", "RELOAD_TIMER"}},
},
}
