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

graphql / graphql-js / 3419 / 1
99%
master: 98%

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 10 May 2018 07:42PM UTC
Files 190
Run time 9s
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

10 May 2018 07:38PM UTC coverage: 98.718% (-0.04%) from 98.754%
3419.1

push

travis-ci

mjmahone
Expose getOperationType(operation) on GraphQLSchema

We're finding we frequently do switch statements on an OperationDefinition's operation to pull the right type out of the schema. This hardens that approach: if for some reason we added a new operation kind, you could just update this function, rather than all the callsites that match on the operation type.

3621 of 4031 branches covered (89.83%)

10860 of 11001 relevant lines covered (98.72%)

1061.33 hits per line

Source Files on job 3419.1
  • 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 Build 3292
  • Travis Job 3419.1
  • d8da198d on github
  • Prev Job for on get-operation (#3418.1)
  • Next Job for on get-operation (#3421.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