nix-community.nixvim/tests/test-sources/plugins/neotest/pest.nix
2024-05-05 22:00:40 +02:00

33 lines
804 B
Nix

{
example = {
plugins = {
treesitter.enable = true;
neotest = {
enable = true;
adapters.pest = {
enable = true;
settings = {
ignore_dirs = [
"vendor"
"node_modules"
];
root_ignore_files = [ "phpunit-only.tests" ];
test_file_suffixes = [
"Test.php"
"_test.php"
"PestTest.php"
];
sail_enabled.__raw = "function() return false end";
sail_executable = "vendor/bin/sail";
pest_cmd = "vendor/bin/pest";
parallel = 16;
compact = false;
results_path.__raw = "function() return '/some/accessible/path' end";
};
};
};
};
};
}