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

kloeckner-i / ember-cli-mirage-graphql / 162
98%

Build:
DEFAULT BRANCH: master
Ran 10 Jul 2019 07:50AM UTC
Jobs 1
Files 56
Run time 3s
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
162

push

travis-ci

jneurock
Rename varsMap to argsMap (#23)

* Pass variableValues into the query handler (rather than root args)

Previously the `vars` that were being passed down from the query mock
were in fact the args for the root query selection and therefore already
massaged by the GraphQL executor to have the correct names. This means
that variables to be used further down the graph could either be missing
or have the wrong names.

This is tricky to explain succintly, please see the test case for a
concrete example. In the test case, we are dealing with a scenario where
the variable is used in both the root of the query *and* further down
with a different name. If it were used further down and *not* in the
root query then the variable would simply be absent prior to this patch.

Co-authored-by: Chad Carbert <chadcarbert@me.com>

* Rename varsMap to argsMap and clarify behavior

Previously this option worked with variable names rather than argument
names. We believe mapping argument names is more useful and more likely
to be the expected behavior. This patch removes any notion of mapping
variable names and focuses strictly on argument names whilst also
renaming the option to make it clearer what is being mapped.

Closes #22

Co-authored-by: Chad Carbert <chadcarbert@me.com>

170 of 176 branches covered (96.59%)

Branch coverage included in aggregate %.

434 of 438 relevant lines covered (99.09%)

52.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 162.1 10 Jul 2019 07:50AM UTC 0
98.37
Travis Job 162.1
Source Files on build 162
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #162
  • 30e6b8a5 on github
  • Prev Build on master (#157)
  • Next Build on master (#163)
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