Closed sjdonado closed 1 year ago
In my case, the config function in packer wasn't running. I called it explicitly elsewhere and the errors went away.
In my case, the config function in packer wasn't running. I called it explicitly elsewhere and the errors went away.
how you did it?
I called the following snippet outside of packer's startup function.
require('neotest').setup({
adapters = {
require("neotest-jest"),
},
output = {
enable = true,
open_on_run = true,
},
})
The section in my packer startup function looks like this now:
use {
"nvim-neotest/neotest",
requires = {
'nvim-lua/plenary.nvim',
'nvim-treesitter/nvim-treesitter',
'antoinemadec/FixCursorHold.nvim',
'haydenmeade/neotest-jest'
},
}
Had the exact same issue with the lazy.nvim manager, I wonder if this can be fixed or if there is a better solution?
Not sure what is causing this error. But I cannot run any of the
nvim-neotest
commandsrequire("neotest").run.run()
require("neotest").run.run(vim.fn.expand("%"))
I followed the packer setup recommended in the README.md:
And I have
dap-vscode-js
configured https://github.com/sjdonado/sjdonado.nvim/blob/master/lua/sjdonado/debugger/node.lua