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/agents-path.nix
Normal file
14
tests/modules/programs/claude-code/agents-path.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
programs.claude-code = {
|
||||
enable = true;
|
||||
agents = {
|
||||
test-agent = ./test-agent.md;
|
||||
};
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.claude/agents/test-agent.md
|
||||
assertFileContent home-files/.claude/agents/test-agent.md \
|
||||
${./test-agent.md}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue