mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 11:36:07 +01:00
plugins/mini-test: init
This commit is contained in:
parent
d0f392f985
commit
aa93ed0257
2 changed files with 58 additions and 0 deletions
31
tests/test-sources/plugins/by-name/mini-test/default.nix
Normal file
31
tests/test-sources/plugins/by-name/mini-test/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
empty = {
|
||||
plugins.mini-test.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.mini-test = {
|
||||
enable = true;
|
||||
settings = {
|
||||
collect = {
|
||||
emulate_busted = true;
|
||||
find_files = lib.nixvim.mkRaw ''
|
||||
function()
|
||||
return vim.fn.globpath('tests', '**/test_*.lua', true, true)
|
||||
end
|
||||
'';
|
||||
filter_cases = lib.nixvim.mkRaw "function(case) return true end";
|
||||
};
|
||||
|
||||
execute = {
|
||||
reporter = lib.nixvim.mkRaw "nil";
|
||||
stop_on_error = false;
|
||||
};
|
||||
|
||||
script_path = "scripts/minitest.lua";
|
||||
silent = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue