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

jgraichen / restify / 331
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/rubocop-tw-0.65.0
DEFAULT BRANCH: master
Ran 10 Dec 2018 01:21PM UTC
Jobs 5
Files 22
Run time 25s
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
331

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.

667 of 786 relevant lines covered (84.86%)

58.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 331.1 (2.5.3, ADAPTER=em) 10 Dec 2018 01:21PM UTC 0
85.44
Travis Job 331.1
2 331.2 (2.4.5, ADAPTER=em) 10 Dec 2018 01:21PM UTC 0
85.59
Travis Job 331.2
3 331.3 (2.3.8, ADAPTER=em) 10 Dec 2018 01:21PM UTC 0
85.44
Travis Job 331.3
4 331.4 (2.2.10, ADAPTER=em) 10 Dec 2018 01:21PM UTC 0
85.4
Travis Job 331.4
5 331.5 (2.5.3, ADAPTER=em-pooled) 10 Dec 2018 01:21PM UTC 0
86.16
Travis Job 331.5
Source Files on build 331
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #331
  • e8b4adb7 on github
  • Next Build on fl/empty-dependencies (#332)
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