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

lukechilds / cacheable-request / 378
100%

Build:
DEFAULT BRANCH: master
Ran 22 Dec 2018 05:07AM UTC
Jobs 1
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

pending completion
378

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

Jobs
ID Job ID Ran Files Coverage
1 378.1 22 Dec 2018 05:07AM UTC 0
100.0
Travis Job 378.1
Source Files on build 378
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #378
  • 5287ee6e on github
  • Prev Build on master (#367)
  • Next Build on master (#379)
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

© 2025 Coveralls, Inc