2022-08-30 12:43:04 +02:00
|
|
|
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"),
|
2023-04-20 17:14:25 +02:00
|
|
|
-- require("neotest-vim-test")({
|
|
|
|
-- ignore_file_types = { "python", "vim", "lua" },
|
|
|
|
-- }),
|
2022-08-30 12:43:04 +02:00
|
|
|
},
|
|
|
|
})
|