mirror of
https://github.com/nix-community/home-manager
synced 2025-02-17 05:35:06 +01:00
jqp: add basic configuration test case
This commit is contained in:
parent
9c6055c6b8
commit
55e14f90ac
4 changed files with 20 additions and 0 deletions
|
@ -110,6 +110,7 @@ in import nmtSrc {
|
|||
./modules/programs/ncmpcpp
|
||||
./modules/programs/ne
|
||||
./modules/programs/neomutt
|
||||
./modules/programs/jqp
|
||||
./modules/programs/neovim
|
||||
./modules/programs/newsboat
|
||||
./modules/programs/nheko
|
||||
|
|
16
tests/modules/programs/jqp/basic-configuration.nix
Normal file
16
tests/modules/programs/jqp/basic-configuration.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs = {
|
||||
jqp.enable = true;
|
||||
jqp.config = { theme.name = "catppuccin-frappe"; };
|
||||
};
|
||||
|
||||
test.stubs.jqp = { };
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.jqp.yaml
|
||||
assertFileContent home-files/.jqp.yaml \
|
||||
${./basic-configuration.yaml}
|
||||
'';
|
||||
}
|
2
tests/modules/programs/jqp/basic-configuration.yaml
Normal file
2
tests/modules/programs/jqp/basic-configuration.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
theme:
|
||||
name: catppuccin-frappe
|
1
tests/modules/programs/jqp/default.nix
Normal file
1
tests/modules/programs/jqp/default.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{ jqp-basic-configuration = ./basic-configuration.nix; }
|
Loading…
Add table
Reference in a new issue