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

vgno / redux-fetcher / 38 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 12 Aug 2016 03:50PM UTC
Files 3
Run time 0s
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

12 Aug 2016 03:48PM UTC coverage: 100.0%. Remained the same
38.1

Pull #16

travis-ci

web-flow
Extend options object with defaults

Using defaults as a function parameter causes the whole options object to
be overriden, even when the intent is to change just one parameter.

Using the spread operator allows a overriding only individual options.

An alternative could be using destructing with defaults as the function argument
like this: `(id, url, { force = false, method = 'GET' } = {})`, but that
requires to also set default values for the `extendAction()` function
(`headers` and `credentials`).

Resolves #14
Pull Request #16: Extend options object with defaults

58 of 58 relevant lines covered (100.0%)

18.21 hits per line

Source Files on job 38.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 38
  • Travis Job 38.1
  • b717fd2c on github
  • Prev Job for on master (#36.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