update neotest settings slightly

This commit is contained in:
Thomas Ruoff
2024-12-20 12:03:43 +01:00
parent d3df3f5ca1
commit b7ee23ffe8

View File

@@ -11,9 +11,9 @@ return {
require('neotest').setup {
adapters = {
require 'neotest-jest' {
jestCommand = 'npm test --',
jestCommand = 'npx jest --',
-- jestConfigFile = "custom.jest.config.ts",
-- env = { CI = true },
env = { CI = true },
cwd = function(path)
return vim.fn.getcwd()
end,