Skip to content

Add Vitest testing infrastructure#3

Open
yuch555 wants to merge 1 commit intopi-apps:mainfrom
yuch555:feature/vitest-setup
Open

Add Vitest testing infrastructure#3
yuch555 wants to merge 1 commit intopi-apps:mainfrom
yuch555:feature/vitest-setup

Conversation

@yuch555
Copy link

@yuch555 yuch555 commented Feb 7, 2026

Summary

  • Configure Vitest with v8 coverage provider
  • Add test scripts: test, test:watch, test:coverage
  • Create unit tests for piServer.ts (9 tests, 100% coverage)
  • Add @vitest/coverage-v8 dependency

Test plan

  • Run npm test - all 9 tests pass
  • Run npm run test:coverage - 100% coverage on lib/piServer.ts

Next steps

If this PR is accepted, I will create a follow-up PR to add GitHub Actions CI workflow for automated testing.

🤖 Generated with Claude Code

- Configure Vitest with v8 coverage provider
- Add test scripts: test, test:watch, test:coverage
- Create unit tests for piServer.ts (9 tests, 100% coverage)
- Add @vitest/coverage-v8 dependency

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

1 participant