express-partial-response
express-partial-response copied to clipboard
Write unit tests
To make editing and refactoring safer:
- [ ] Write unit tests to cover the different use-cases
- [ ] Ensure tests run when
npm testis called - [ ] Ensure a failure of a single test will return
npm testwith a non-zero error code
@qm3ster are you, by any chance, interested in taking this one?
I almost did this by myself, but then decided not to. Shouldn't they be integration tests though? (run real express, do the example, check return)
Shouldn't they be integration tests though?
That sounds even better.