Skip to content

test(setup): add unit tests for cli-agent parseArgs#2704

Open
Luggagethecat wants to merge 1 commit into
nanocoai:mainfrom
Luggagethecat:main
Open

test(setup): add unit tests for cli-agent parseArgs#2704
Luggagethecat wants to merge 1 commit into
nanocoai:mainfrom
Luggagethecat:main

Conversation

@Luggagethecat

Copy link
Copy Markdown

Export parseArgs so it can be tested in isolation, then cover the happy path (all flags, any order) and the error path (missing --display-name).

Type of Change

  • Feature skill - adds a channel or integration (source code changes + SKILL.md)
  • Utility skill - adds a standalone tool (code files in .claude/skills/<name>/, no source changes)
  • Operational/container skill - adds a workflow or agent skill (SKILL.md only, no source changes)
  • Fix - bug fix or security fix to source code
  • Simplification - reduces or simplifies source code
  • Documentation - docs, README, or CONTRIBUTING changes only

Description

For Skills

  • SKILL.md contains instructions, not inline code (code goes in separate files)
  • SKILL.md is under 500 lines
  • I tested this skill on a fresh clone

Export parseArgs so it can be tested in isolation, then cover the happy
path (all flags, any order) and the error path (missing --display-name).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added the follows-guidelines PR was created using the current contributing template label Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

follows-guidelines PR was created using the current contributing template

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant