• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lukechilds / cacheable-request / 378 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 22 Dec 2018 05:07AM UTC
Files 1
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Dec 2018 05:05AM UTC coverage: 100.0%. Remained the same
378.1

push

travis-ci

lukechilds
Don't cache incomplete response when request is aborted (#63)

* fix: Don't cache incomplete response when request is aborted

Aborting a request while downloading the response caused an incomplete response to be cached.

I found this issue using Got's timeout option. Here's the related ticket: https://github.com/sindresorhus/got/issues/666

* refactor: Move request state to makeRequest scope

* test: Add request abort before first byte of  response test case

67 of 67 branches covered (100.0%)

Branch coverage included in aggregate %.

119 of 119 relevant lines covered (100.0%)

33.65 hits per line

Source Files on job 378.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 305
  • Travis Job 378.1
  • 5287ee6e on github
  • Prev Job for on master (#367.1)
  • Next Job for on master (#379.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc