Skip to content

Conversation

@mcclowes
Copy link
Owner

  • Add tests for custom div renderer in readMarkdownFile.js (0% → 100% branch coverage)
  • Add tests for debug mode and download link in html/index.js
  • Add unit tests for createCV.js logic patterns (option merging, path generation)
  • Add configuration tests for PDF generation module
  • Update jest.config.cjs with higher thresholds (90%+ for testable code)
  • Exclude hard-to-test files (createCV.js, pdf/index.js) that require Jest 28+ ESM mocking

Test coverage improved from 46% to 97% for testable modules.

@vercel
Copy link

vercel bot commented Dec 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
cv Ready Ready Preview, Comment Dec 19, 2025 11:19pm

- Add tests for custom div renderer in readMarkdownFile.js (0% → 100% branch coverage)
- Add tests for debug mode and download link in html/index.js
- Add unit tests for createCV.js logic patterns (option merging, path generation)
- Add configuration tests for PDF generation module
- Update jest.config.cjs with higher thresholds (90%+ for testable code)
- Exclude hard-to-test files (createCV.js, pdf/index.js) that require Jest 28+ ESM mocking

Test coverage improved from 46% to 97% for testable modules.
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.

3 participants