function()
local neotest = require("neotest")
for _, adapter_id in ipairs(neotest.run.adapters()) do
neotest.run.run({ suite = true, adapter = adapter_id })
end
end,
E5108: Error executing lua: /Users/Oli/.config/nvim/lua/Oli/core/mappings.lua:366: attempt to call field 'adapters' (a nil value)
stack traceback:
/Users/Oli/.config/nvim/lua/Oli/core/mappings.lua:366: in function </Users/Oli/.config/nvim/lua/Oli/core/mappings.lua:364>
where line 364 is my mapping.
If I remove the overseer = require("neotest.consumers.overseer") line then the mapping works as expected
I have a mapping to run my Neotest test suite:
with the following Neotest config:
I'm getting the following error:
where line 364 is my mapping.
If I remove the
overseer = require("neotest.consumers.overseer")
line then the mapping works as expected