20 lines
430 B
Lua
20 lines
430 B
Lua
|
require("neotest").setup({
|
||
|
adapters = {
|
||
|
require("neotest-jest")({
|
||
|
jestCommand = "npm test --",
|
||
|
jestConfigFile = "custom.jest.config.ts",
|
||
|
env = { CI = true },
|
||
|
cwd = function(path)
|
||
|
return vim.fn.getcwd()
|
||
|
end,
|
||
|
}),
|
||
|
require("neotest-python")({
|
||
|
dap = { justMyCode = false },
|
||
|
}),
|
||
|
require("neotest-plenary"),
|
||
|
require("neotest-vim-test")({
|
||
|
ignore_file_types = { "python", "vim", "lua" },
|
||
|
}),
|
||
|
},
|
||
|
})
|