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

graphql / graphql-js / 2233
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 30 May 2017 08:36PM UTC
Jobs 1
Files 162
Run time 10s
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
2233

push

travis-ci

leebyron
Report or Reject when encountering Errors.

Currently the `subscribe()` function throws Errors, however this is awkward when used along with async functions which would expect a rejected iteration to represent failure. Also GraphQLErrors should be reported back to the client since they represent client-provided errors.

Updates test cases to represent this new behavior.

Includes a new utility `asyncIteratorReject`, and extends the behavior of `mapAsyncIterator` to help implement this.

3355 of 3674 branches covered (91.32%)

104 of 104 new or added lines in 6 files covered. (100.0%)

8802 of 8986 relevant lines covered (97.95%)

1281.44 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/subscription/subscribe.js
2
100.0
src/subscription/__tests__/subscribe-test.js
2
100.0
src/subscription/asyncIteratorReject.js

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/utilities/schemaPrinter.js
2
100.0
src/subscription/mapAsyncIterator.js
2
100.0
src/subscription/__tests__/subscribe-test.js
Jobs
ID Job ID Ran Files Coverage
1 2233.1 30 May 2017 08:36PM UTC 0
97.95
Travis Job 2233.1
Source Files on build 2233
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2233
  • e2f4d9f4 on github
  • Prev Build on subscription-capture-source-errors (#2224)
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