mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-02 23:21:02 +01:00
tests/claude-code: add path tests for agents/commands
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
846f27fba8
commit
fb928abb67
6 changed files with 86 additions and 0 deletions
14
tests/modules/programs/claude-code/commands-path.nix
Normal file
14
tests/modules/programs/claude-code/commands-path.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
programs.claude-code = {
|
||||
enable = true;
|
||||
commands = {
|
||||
test-command = ./test-command.md;
|
||||
};
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.claude/commands/test-command.md
|
||||
assertFileContent home-files/.claude/commands/test-command.md \
|
||||
${./test-command.md}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue