updates
This commit is contained in:
19
nvim-config/lua/plugins/test.lua
Normal file
19
nvim-config/lua/plugins/test.lua
Normal file
@ -0,0 +1,19 @@
|
||||
return {
|
||||
{ "nvim-neotest/neotest-plenary", "nvim-neotest/neotest-jest" },
|
||||
{
|
||||
"nvim-neotest/neotest",
|
||||
opts = {
|
||||
adapters = {
|
||||
"neotest-plenary",
|
||||
["neotest-jest"] = {
|
||||
jestCommand = "npm test --",
|
||||
jestConfigFile = "custom.jest.config.ts",
|
||||
env = { CI = true },
|
||||
cwd = function(_)
|
||||
return vim.fn.getcwd()
|
||||
end,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user