nix-community.nixvim/tests/test-sources/plugins/by-name/neotest/jest.nix
2025-03-04 15:28:43 +01:00

27 lines
512 B
Nix

{
example = {
plugins = {
treesitter.enable = true;
neotest = {
enable = true;
adapters.jest = {
enable = true;
settings = {
jestCommand = "npm test --";
jestConfigFile = "custom.jest.config.ts";
env = {
CI = true;
};
cwd.__raw = ''
function(path)
return vim.fn.getcwd()
end
'';
};
};
};
};
};
}