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

vgno / redux-fetcher / 35
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v2.1.0
DEFAULT BRANCH: master
Ran 11 Aug 2016 08:48AM UTC
Jobs 1
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

pending completion
35

push

travis-ci

androa
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

54 of 54 relevant lines covered (100.0%)

14.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35.1 11 Aug 2016 08:48AM UTC 0
100.0
Travis Job 35.1
Source Files on build 35
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #35
  • 8e5cfe88 on github
  • Prev Build on issue-14 (#31)
  • Next Build on issue-14 (#37)
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