Repository URL to install this package:
|
Version:
0.0.2 ▾
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`babel-plugin-transform-optimize-graphql does not transform with false positives for .body 1`] = `
"r.loc.notSource = {
body: \`mutation RegisterGuest {
registerGuest {
responseCode
type
properties {
state {
statuscode
starttime
status
}
}
cookies
}
}
\`
};"
`;
exports[`babel-plugin-transform-optimize-graphql transforming should always be the same and be minified 1`] = `
"r.loc.source = {
body: \\"mutation RegisterGuest { registerGuest { responseCode type properties { state { statuscode starttime status } } cookies }}\\",
name: \\"GraphQL request\\",
locationOffset: {
line: 1,
column: 1
}
};"
`;
exports[`babel-plugin-transform-optimize-graphql transforming should work for template literals alongside string literals 1`] = `
"r.loc.source = {
body: \`mutation RegisterGuest { registerGuest { responseCode type properties { state { statuscode starttime status } } cookies }}\`,
name: \\"GraphQL request\\",
locationOffset: {
line: 1,
column: 1
}
};"
`;