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

comment & cov: Fix comment & approve cov #1214

Merged
merged 2 commits into from
Jul 4, 2018

Conversation

xtx1130
Copy link
Contributor

@xtx1130 xtx1130 commented Jul 2, 2018

  • fix comment for api
  • ignore useless else cov branch

@codecov
Copy link

codecov bot commented Jul 2, 2018

Codecov Report

Merging #1214 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1214   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files           5       5           
  Lines         383     383           
======================================
  Hits          383     383
Impacted Files Coverage Δ
lib/request.js 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cde0bb1...5b22a33. Read the comment docs.

@@ -280,6 +280,7 @@ module.exports = {
*/

get URL() {
/* istanbul ignore else */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it is useless here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Istanbul makes else as a default branch, even though you don't write else. So coverage test will cover not-exist else as coverage

Copy link
Contributor

@fl0w fl0w left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dead-horse dead-horse merged commit 74170ca into koajs:master Jul 4, 2018
@xtx1130 xtx1130 deleted the fix-comment branch July 4, 2018 03:56
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.

None yet

3 participants