dotfiles/nvim/lua/neotest_config.lua

20 lines
436 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" },
-- }),
},
})