mirror of
https://github.com/tomru/nvim.git
synced 2026-03-04 06:57:15 +01:00
25 lines
574 B
Lua
25 lines
574 B
Lua
return {
|
|
'nvim-neotest/neotest',
|
|
dependencies = {
|
|
'nvim-neotest/nvim-nio',
|
|
'nvim-lua/plenary.nvim',
|
|
'antoinemadec/FixCursorHold.nvim',
|
|
'nvim-treesitter/nvim-treesitter',
|
|
'nvim-neotest/neotest-jest',
|
|
},
|
|
config = function()
|
|
require('neotest').setup {
|
|
adapters = {
|
|
require 'neotest-jest' {
|
|
jestCommand = 'npx jest --',
|
|
-- jestConfigFile = "custom.jest.config.ts",
|
|
env = { CI = true },
|
|
cwd = function(path)
|
|
return vim.fn.getcwd()
|
|
end,
|
|
},
|
|
},
|
|
}
|
|
end,
|
|
}
|