Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 350 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 350 Bytes

gqltest

Testing of GraphQL APIs

Work in progress

Sample use

describe('Starwars', function () {
  afterEach('log-failure', logOnFail);

  it('hero-data', function () {
     execute({
      test: this,
      endpoint,
      request: {
        query: '{hero {name}}',
      },
      expected: {hero: {name: 'R2-D2'}},
    })
  })

})