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

wikimedia / parsoid / 1764
85%

Build:
DEFAULT BRANCH: master
Ran 13 Feb 2018 09:51PM UTC
Jobs 4
Files 85
Run time 5min
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
1764

push

travis-ci

cscott
<a href="https://github.com/wikimedia/parsoid/commit/8c48d66c5">WTS: Use `yield` instead of directly returning Promises

Direct return of Promises from async functions, although convenient,
can obscure the callstack if an exception is thrown (since the caller
is no longer on the callstack when the returned Promise is resolved),
and may confuse readers which have to keep track of whether the return
value is of Promise type or not in order to figure out control flow
in the case of an exception.

Prefer to explicitly `yield` rather than directly returning a Promise,
at least in the WTS code.

Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/88d5b628d">88d5b628d</a>

8925 of 10960 branches covered (81.43%)

14361 of 16667 relevant lines covered (86.16%)

103346.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1764.1 13 Feb 2018 09:52PM UTC 0
86.14
Travis Job 1764.1
2 1764.2 13 Feb 2018 09:51PM UTC 0
86.15
Travis Job 1764.2
3 1764.3 13 Feb 2018 09:51PM UTC 0
86.15
Travis Job 1764.3
4 1764.4 13 Feb 2018 09:56PM UTC 0
86.15
Travis Job 1764.4
Source Files on build 1764
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1764
  • 8c48d66c on github
  • Prev Build on master (#1763)
  • Next Build on master (#1765)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc