Skip to content

Conversation

@biw
Copy link
Owner

@biw biw commented Dec 24, 2025

Summary

Added comprehensive test coverage reporting to CI and fixed publish workflow issues.

  • Integrated @vitest/coverage-v8 for code coverage measurement
  • CI workflow now displays coverage summary table in job summary
  • Fixed publish.yml to correctly check lzma-web package name
  • Coverage reports available in text, JSON, HTML, and JSON-summary formats

🤖 Generated with Claude Code

biw and others added 5 commits December 24, 2025 00:08
- Add @vitest/coverage-v8 for code coverage measurement
- Configure coverage reporters (text, json, html, json-summary)
- Update CI workflow to run tests with coverage
- Add coverage summary step to display metrics in GitHub Actions job summary
- Fix publish.yml to check correct package name (lzma-web)

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

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Add 81 new tests covering promise-based, callback, and sync APIs
- Add browser environment tests for worker-based API (lzma.ts, worker.ts)
- Test all compression modes 1-9, input types, edge cases, unicode
- Add happy-dom for browser environment simulation
- Achieve 95% overall test coverage (100% for lzma.ts and worker.ts)
- Remove private keyword from ByteArrayInputStream properties to allow
  test access
- Remove unused variables in browser.test.ts (OriginalWorker,
  messageHandler, originalAddEventListener)
@biw biw merged commit f0e714e into full-refactor Jan 9, 2026
1 check passed
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