fastify / light-my-request

Fake HTTP injection library
Other
356 stars 47 forks source link

100% code coverage #90

Closed mcollina closed 3 years ago

mcollina commented 4 years ago

🚀 Feature Proposal

This module could easily reach 100% code coverage. There are just 2 lines missing:

----------------------|----------|----------|----------|----------|-------------------|
File                  |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
----------------------|----------|----------|----------|----------|-------------------|
All files             |    99.15 |    97.48 |    98.04 |     99.1 |                   |
 light-my-request     |      100 |      100 |      100 |      100 |                   |
  index.js            |      100 |      100 |      100 |      100 |                   |
 light-my-request/lib |    98.72 |     96.2 |    97.06 |    98.66 |                   |
  parseURL.js         |      100 |      100 |      100 |      100 |                   |
  request.js          |    98.55 |    98.36 |      100 |    98.51 |               121 |
  response.js         |    98.65 |    85.71 |    95.24 |    98.55 |               130 |
----------------------|----------|----------|----------|----------|-------------------|
climba03003 commented 3 years ago

May I take this for hacktobefest event?

mcollina commented 3 years ago

Go for it!