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

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

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 10 May 2018 07:42PM UTC
Jobs 1
Files 190
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
3419

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%)

4 of 4 new or added lines in 1 file covered. (100.0%)

10860 of 11001 relevant lines covered (98.72%)

1061.33 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
100.0
src/type/schema.js
Jobs
ID Job ID Ran Files Coverage
1 3419.1 10 May 2018 07:42PM UTC 0
98.72
Travis Job 3419.1
Source Files on build 3419
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3419
  • d8da198d on github
  • Prev Build on get-operation (#3418)
  • Next Build on get-operation (#3421)
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