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

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

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 20 Dec 2017 09:54PM UTC
Jobs 1
Files 181
Run time 8s
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
3008

push

travis-ci

leebyron
Only trigger "one instance of graphql" error in DEV environments.

This ensures the additional checking for multiple graphql instances only occurs in non-production builds. Not only does this improve the performance for production builds, it also solves a spurious error case for minified builds:

Since this additional check compares the `.name` of the constructors as a proxy for determining if two classes are representationally equal, minified builds may result in spurious false-positives if class names are minified to single-character names and those characters are likely to conflict.

This doesn't require `process` to exist (defaulting to the non-production mode), but bundlers like Webpack should consider using a stripping transform (see: https://webpack.js.org/guides/production/#specify-the-environment) in production builds if they also use a minifier.

4155 of 4671 branches covered (88.95%)

10374 of 10512 relevant lines covered (98.69%)

1570.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3008.1 20 Dec 2017 09:54PM UTC 0
98.69
Travis Job 3008.1
Source Files on build 3008
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3008
  • 9b7a2920 on github
  • Prev Build on dev-only-instanceof (#3006)
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