Adapter for neotest framework to use Node.js native test runner.
vim.pack.add({
"https://github.com/nvim-neotest/neotest",
"https://github.com/nvim-neotest/nvim-nio",
"https://github.com/nvim-lua/plenary.nvim",
"https://github.com/nvim-treesitter/nvim-treesitter",
"https://github.com/devastion/neotest-node",
}, { confirm = false })
require("neotest").setup({
adapters = {
require("neotest-node"),
},
})return {
"nvim-neotest/neotest",
dependencies = {
"nvim-neotest/nvim-nio",
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
"devastion/neotest-node"
},
config = function()
require("neotest").setup({
adapters = {
require("neotest-node")
}
})
end
}- Support
onlytests - Create
nvim-dapconfiguration