2017-06-10 18:59:27 +03:00
|
|
|
// 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} } }
|
|
|
|
\`;
|
2017-06-13 03:16:17 +03:00
|
|
|
|
|
|
|
graphql.experimental\`
|
|
|
|
mutation MarkReadNotificationMutation(
|
|
|
|
$input
|
|
|
|
: MarkReadNotificationData!
|
|
|
|
)
|
|
|
|
{ markReadNotification(data: $input ) { notification {seenState} } }
|
|
|
|
\`;
|
2017-06-10 18:59:27 +03:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
const { graphql } = require("react-relay");
|
|
|
|
|
|
|
|
graphql\`
|
|
|
|
mutation MarkReadNotificationMutation($input: MarkReadNotificationData!) {
|
|
|
|
markReadNotification(data: $input) {
|
|
|
|
notification {
|
|
|
|
seenState
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
\`;
|
|
|
|
|
2017-06-13 03:16:17 +03:00
|
|
|
graphql.experimental\`
|
|
|
|
mutation MarkReadNotificationMutation($input: MarkReadNotificationData!) {
|
|
|
|
markReadNotification(data: $input) {
|
|
|
|
notification {
|
|
|
|
seenState
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
\`;
|
|
|
|
|
2017-06-10 18:59:27 +03:00
|
|
|
`;
|