nix-community.nixvim/tests/test-sources/plugins/neotest/jest.nix
2024-03-18 23:07:32 +01:00

25 lines
484 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
'';
};
};
};
};
};
}