nix-community.nixvim/tests/test-sources/plugins/neotest/jest.nix
2024-05-05 22:00:40 +02: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
'';
};
};
};
};
};
}