/ tests / mocks / wezterm.lua
wezterm.lua
 1  -- Minimal wezterm mock for testing config and extensions without WezTerm binary.
 2  local M = {
 3    GLOBAL = {},
 4    config_dir = '/mock/wezterm/config',
 5    log_warn = function(...) end,
 6    log_error = function(...) end,
 7    read_dir = function(_) return {} end,
 8    on = function(_, _) end,
 9  }
10  return M