Skip to content

Add tests, fix bugs, and implement assign endpoint#20

Open
P-kaizoku wants to merge 1 commit into
rohit-ups:mainfrom
P-kaizoku:submission
Open

Add tests, fix bugs, and implement assign endpoint#20
P-kaizoku wants to merge 1 commit into
rohit-ups:mainfrom
P-kaizoku:submission

Conversation

@P-kaizoku
Copy link
Copy Markdown

What's included

  • Tests — 85 tests (unit + integration) with 97%+ coverage
  • Bug fixes — Fixed 3 bugs found through testing:
    • getByStatus doing substring match instead of exact match
    • getPaginated off-by-one error (page 1 was skipping results)
    • completeTask silently resetting priority to "medium"
  • New featurePATCH /tasks/:id/assign with input validation
  • Bug report — See BUG_REPORT.md
  • Submission notes — See SUBMISSION_NOTES.md

How to run

cd task-api
npm install
npm test
npm run coverage

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