Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve test coverage for watch-processor.ts #1758

Open
samayer12 opened this issue Feb 3, 2025 · 0 comments
Open

Improve test coverage for watch-processor.ts #1758

samayer12 opened this issue Feb 3, 2025 · 0 comments
Assignees
Labels
Milestone

Comments

@samayer12
Copy link
Contributor

Describe what should be investigated or refactored

watch-processor.ts has some gaps in test quality. We should review the test cases in watch-processors.test.ts and improve quality of the unit tests for the watch processor. This was noticed while working on #1757.

Links to any relevant code

Additional context

Here's example output from running npm run test:unit

-----------------------------|---------|----------|---------|---------|-------------------------------------
File                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                   
-----------------------------|---------|----------|---------|---------|-------------------------------------
[...]
  watch-processor.ts         |   75.51 |    61.53 |      60 |   82.02 | 109-110,113,119,125-140,151-152,168 
@samayer12 samayer12 mentioned this issue Feb 3, 2025
5 tasks
@cmwylie19 cmwylie19 added this to the v0.45.1 milestone Feb 3, 2025
@cmwylie19 cmwylie19 moved this from 🆕 New to 🏗 In progress in Pepr Project Board Feb 3, 2025
@cmwylie19 cmwylie19 moved this from 🏗 In progress to 📋 Backlog in Pepr Project Board Feb 5, 2025
@cmwylie19 cmwylie19 modified the milestones: v0.45.1, v0.46.0, v0.46.1 Feb 18, 2025
@cmwylie19 cmwylie19 self-assigned this Mar 3, 2025
@cmwylie19 cmwylie19 moved this from 📋 Backlog to 🏗 In progress in Pepr Project Board Mar 3, 2025
@cmwylie19 cmwylie19 modified the milestones: v0.46.1, v0.46.2 Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🏗 In progress
Development

No branches or pull requests

2 participants