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

graphql / graphql-js / 2813
99%
master: 98%

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 08 Dec 2017 01:00AM UTC
Jobs 1
Files 174
Run time 4min
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
2813

push

travis-ci

leebyron
New: printError()

Lifted from / inspired by a similar change in #722, this creates a new function `printError()` (and uses it as the implementation for `GraphQLError#toString()`) which prints location information in the context of an error.

This is moved from the syntax error where it used to be hard-coded, so it may now be used to format validation errors, value coercion errors, or any other error which may be associated with a location.

3939 of 4448 branches covered (88.56%)

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

9604 of 9738 relevant lines covered (98.62%)

1284.17 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/language/__tests__/lexer-test.js
1
100.0
src/language/__tests__/parser-test.js
1
100.0
src/language/__tests__/schema-parser-test.js

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
src/error/GraphQLError.js
Jobs
ID Job ID Ran Files Coverage
1 2813.1 08 Dec 2017 01:00AM UTC 0
98.62
Travis Job 2813.1
Source Files on build 2813
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #2813
  • 075e1e7f on github
  • Prev Build on printError (#2811)
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

© 2025 Coveralls, Inc