Skip to content

test: improve coverage for use command#10345

Open
joehan wants to merge 2 commits intomainfrom
test/use-command
Open

test: improve coverage for use command#10345
joehan wants to merge 2 commits intomainfrom
test/use-command

Conversation

@joehan
Copy link
Copy Markdown
Member

@joehan joehan commented Apr 15, 2026

Description

Add comprehensive unit tests for src/commands/use.ts including alias manipulation, output validation, and input parsing.

Scenarios Tested

  • Successful execution of --add and --clear
  • Verification of interactive mode fallbacks

Sample Commands

npm run mocha -- 'src/commands/use.spec.ts'

### Description
Add comprehensive unit tests for `src/commands/use.ts` including alias manipulation, output validation, and input parsing.

### Scenarios Tested
- Successful execution of `--add` and `--clear`
- Verification of interactive mode fallbacks

### Sample Commands
`npm run mocha -- 'src/commands/use.spec.ts'`
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants