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

graphql / graphql-js / 2858 / 1
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 12 Dec 2017 04:12AM UTC
Files 179
Run time 5s
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

12 Dec 2017 04:10AM UTC coverage: 98.821% (+0.2%) from 98.656%
2858.1

push

travis-ci

web-flow
Better Predicates (#1137)

Introduces new predicate and assertion functions for each kind of type mirroring the existing ones for the higher order types. It also includes predicates for directives and schema. This should remove the need to use `instanceof` in any usage of GraphQL.js

This consolidates the checking of instances which generalizes the cross-realm/multiple-module check so that the clearer error message is provided in nearly all scenarios, reducing confusion.

This also replaces nearly all `instanceof` with new predicate functions internally.

Fixes #1134

4032 of 4516 branches covered (89.28%)

9975 of 10094 relevant lines covered (98.82%)

1437.35 hits per line

Source Files on job 2858.1
  • Tree
  • List 0
  • Changed 34
  • Source Changed 33
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2858
  • Travis Job 2858.1
  • 2adbe226 on github
  • Prev Job for on master (#2847.1)
  • Next Job for on master (#2861.1)
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