dotfiles/nvim/lua/neotest_config.lua
2023-04-20 17:14:25 +02:00

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