prettier/tests/multiparser_js_graphql/__snapshots__/jsfmt.spec.js.snap

53 lines
984 B
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`graphql-tag.js 1`] = `
import gql from "graphql-tag";
const query = gql\`
{
user( id : 5 ) {
firstName
lastName
}
}
\`;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
import gql from "graphql-tag";
const query = gql\`
{
user(id: 5) {
firstName
lastName
}
}
\`;
`;
exports[`react-relay.js 1`] = `
const { graphql } = require("react-relay");
graphql\`
mutation MarkReadNotificationMutation(
$input
: MarkReadNotificationData!
)
{ markReadNotification(data: $input ) { notification {seenState} } }
\`;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
const { graphql } = require("react-relay");
graphql\`
mutation MarkReadNotificationMutation($input: MarkReadNotificationData!) {
markReadNotification(data: $input) {
notification {
seenState
}
}
}
\`;
`;