2017-06-18 20:37:52 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`argument_comment.graphql 1`] = `
|
|
|
|
|
|
|
|
query (
|
|
|
|
$string: String, # Some variable comment
|
|
|
|
$bool: Boolean # Some comment
|
|
|
|
) {
|
|
|
|
someField
|
|
|
|
}
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
query(
|
2017-06-28 04:13:07 +03:00
|
|
|
$string: String # Some variable comment
|
2017-06-18 20:37:52 +03:00
|
|
|
$bool: Boolean # Some comment
|
|
|
|
) {
|
|
|
|
someField
|
|
|
|
}
|
2017-06-27 19:49:15 +03:00
|
|
|
|
2017-06-18 20:37:52 +03:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`fields.graphql 1`] = `
|
|
|
|
query {
|
|
|
|
someField # Trailing comment
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
query {
|
|
|
|
someField # Trailing comment
|
|
|
|
}
|
2017-06-27 19:49:15 +03:00
|
|
|
|
2017-06-18 20:37:52 +03:00
|
|
|
`;
|
2017-06-28 04:12:30 +03:00
|
|
|
|
|
|
|
exports[`tokens.graphql 1`] = `
|
|
|
|
# import "./claimsFragment.gql"
|
|
|
|
|
|
|
|
query claimsByBookingReferenceAndLastName($bookingReference: String!, $lastName: String!) {
|
|
|
|
claimsByBookingReferenceAndLastName(bookingReference: $bookingReference, lastName: $lastName) {
|
|
|
|
... claim
|
|
|
|
}
|
|
|
|
}
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
# import "./claimsFragment.gql"
|
|
|
|
|
|
|
|
query claimsByBookingReferenceAndLastName(
|
2017-06-28 04:31:57 +03:00
|
|
|
$bookingReference: String!
|
2017-06-28 04:12:30 +03:00
|
|
|
$lastName: String!
|
|
|
|
) {
|
|
|
|
claimsByBookingReferenceAndLastName(
|
2017-06-28 04:31:57 +03:00
|
|
|
bookingReference: $bookingReference
|
2017-06-28 04:12:30 +03:00
|
|
|
lastName: $lastName
|
|
|
|
) {
|
|
|
|
...claim
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
`;
|