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

jgraichen / restify / 332 / 13
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/rubocop-tw-0.65.0
DEFAULT BRANCH: master
Ran 10 Dec 2018 01:28PM UTC
Files 20
Run time 3s
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

10 Dec 2018 01:21PM UTC coverage: 91.354%. First build
2.5.3, ADAPTER=typhoeus-sync

push

travis-ci

franzliedke
Fix promise resolution with empty array of deps

When building a promise with a dynamic array of dependencies, this array
can sometimes be empty. This behavior was currently not specified. We
expect this promise to return an empty array, which would be consistent
with the return value for multiple input dependencies (an array with one
result per input promise).

There is one other case when this situation (no task, no dependencies)
can happen: external promise resolution using a `Writer` object, e.g.
through `Restify::Promise.fulfilled`. To differentiate these cases, we
explicitly check for one or more empty arrays being passed in.

560 of 613 relevant lines covered (91.35%)

15.01 hits per line

Source Files on job 332.13 (2.5.3, ADAPTER=typhoeus-sync)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 322
  • Travis Job 332.13
  • ffff6f0f on github
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