Skip to content

Commit

Permalink
vivid: add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Mar 4, 2025
1 parent d52d30e commit 96509d3
Show file tree
Hide file tree
Showing 7 changed files with 1,376 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ in import nmtSrc {
./modules/programs/vifm
./modules/programs/vim-vint
./modules/programs/vinegar
./modules/programs/vivid
./modules/programs/vscode
./modules/programs/watson
./modules/programs/wezterm
Expand Down
6 changes: 6 additions & 0 deletions tests/modules/programs/vivid/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
vivid-empty-settings = ./empty.nix;
vivid-enable-shells = ./enable-shells.nix;
vivid-filetypes = ./filetypes-example.nix;
vivid-themes = ./themes-example.nix;
}
11 changes: 11 additions & 0 deletions tests/modules/programs/vivid/empty.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
programs.vivid = {
enable = true;
theme = "test";
};
test.stubs.vivid = { };
nmt.script = ''
assertPathNotExists home-files/.config/vivid/filetypes.yaml
assertPathNotExists home-files/.config/vivid/themes
'';
}
Loading

0 comments on commit 96509d3

Please sign in to comment.