cmorten / opine

Minimalist web framework for Deno ported from ExpressJS.
https://github.com/cmorten/opine/blob/main/.github/API/api.md
MIT License
854 stars 43 forks source link

[TEST] Improve body parser test coverage #51

Closed asos-craigmorten closed 3 years ago

asos-craigmorten commented 4 years ago

Issue

The current body-parser test coverage is low, this issue seeks to improve the coverage.

Details

The Opine body-parser test code was written prior to the creation of SuperDeno and thus was unpractical at the time to port test code from the original source. Now the supertest equivalent exists we should look to improve the test coverage of these modules.

Test files:

See https://github.com/expressjs/body-parser for details, specifically https://github.com/expressjs/body-parser/tree/master/test for guidance on desired coverage.