Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import asyncTransform from '../src/transform'

const body = `mutation RegisterGuest {\n  registerGuest {\n    responseCode\n    type\n    properties {\n      state {\n        statuscode\n        starttime\n        status\n      }\n    }\n    cookies\n  }\n}\n`
const codeFixture = `
  r.loc.source = {
    body: \`${body}\`,
    name: "GraphQL request",
    locationOffset: { line: 1, column: 1 }
  }
`
async function go() {
  const output = await asyncTransform(codeFixture)
  console.log(output.code)
}
go()