Skip to content

feat: add comprehensive test suite and CI workflow - #3

Merged
wenmengzhou merged 2 commits into
mainfrom
ci
Jul 22, 2025
Merged

feat: add comprehensive test suite and CI workflow#3
wenmengzhou merged 2 commits into
mainfrom
ci

Conversation

@pomelo-nwu

Copy link
Copy Markdown
Collaborator
  • Add Jest test framework with coverage reporting
  • Add comprehensive test suite for ClaudeCodeRouterConfig class
  • Add GitHub Actions CI workflow for automated testing
  • Update package.json with test scripts and Jest configuration
  • Add package-lock.json to .gitignore
  • Set coverage thresholds at 80% for all metrics

- Add Jest test framework with coverage reporting
- Add comprehensive test suite for ClaudeCodeRouterConfig class
- Add GitHub Actions CI workflow for automated testing
- Update package.json with test scripts and Jest configuration
- Add package-lock.json to .gitignore
- Set coverage thresholds at 80% for all metrics
config.language = "zh";
const messages = config.getMessages();

expect(messages.configuring).toBe("🚀 正在配置 claude-code-router...");

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use english

@wenmengzhou
wenmengzhou merged commit 8658d82 into main Jul 22, 2025
2 checks passed
@pomelo-nwu
pomelo-nwu deleted the ci branch July 22, 2025 09:59
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