# frozen_string_literal: true

module GraphqlClientHelper
  def mock_query
    query = <<~GRAPHQL
      query {
        user(login: mkcode) {
          pullRequests(states: OPEN last: 100) {
            nodes {
              id
              title
              body
              url
              createdAt
              labels(first: 100) {
                edges {
                  node {
                    name
                  }
                }
              }
            }
          }
        }
      }
    GRAPHQL
    query
  end
end
