diff options
| author | William Boman <william@redwill.se> | 2026-05-14 17:24:50 +0200 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2026-05-16 17:55:06 +0200 |
| commit | f57740ff7a1e451dfb20176abea090426597091c (patch) | |
| tree | 106c08bf697470dc9870fe5acdedd536e10562c2 /lua/mason-test/helpers.lua | |
| parent | feat: add the infrastructure to support "system" packages (#2085) (diff) | |
| download | mason-f57740ff7a1e451dfb20176abea090426597091c.tar mason-f57740ff7a1e451dfb20176abea090426597091c.tar.gz mason-f57740ff7a1e451dfb20176abea090426597091c.tar.bz2 mason-f57740ff7a1e451dfb20176abea090426597091c.tar.lz mason-f57740ff7a1e451dfb20176abea090426597091c.tar.xz mason-f57740ff7a1e451dfb20176abea090426597091c.tar.zst mason-f57740ff7a1e451dfb20176abea090426597091c.zip | |
feat: add support for socket.dev firewall client
Diffstat (limited to 'lua/mason-test/helpers.lua')
| -rw-r--r-- | lua/mason-test/helpers.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lua/mason-test/helpers.lua b/lua/mason-test/helpers.lua index 88354046..a056406e 100644 --- a/lua/mason-test/helpers.lua +++ b/lua/mason-test/helpers.lua @@ -12,7 +12,10 @@ local M = {} function M.create_context(opts) local pkg = registry.get_package(opts and opts.package or "dummy") local handle = InstallHandle:new(pkg, InstallLocation.global()) - local context = InstallContext:new(handle, opts and opts.install_opts or {}) + local context = InstallContext:new(handle, opts and opts.install_opts or {}, { + suspend = function() end, + resume = function() end, + }) context.spawn = setmetatable({}, { __index = function(s, cmd) s[cmd] = spy.new(function() |
