var { generateClient } = require("../generateClient")

it("returns generated code", function() {
  var code = generateClient({
    path: "./__tests__/documents/*.graphql",
    clientName: "test-client",
  })
  expect(code).toMatchSnapshot()
})

var { generateClient } = require("../generateClient")

it("returns generated code", function() {
  var code = generateClient({
    path: "./__tests__/documents/*.graphql",
    client: "test-client",
  })
  expect(code).toMatchSnapshot()
})

Update specs to reflect options key change
Update specs to reflect options key change
