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

30 lines
877 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`fragment_variables.graphql 1`] = `
====================================options=====================================
parsers: ["graphql"]
printWidth: 80
| printWidth
=====================================input======================================
fragment F($var: Int) on Type {
field
}
fragment G($first_variable: Int, $second_variable: String = "Very complex default argument value") on Type {
field
}
=====================================output=====================================
fragment F($var: Int) on Type {
field
}
fragment G(
$first_variable: Int
$second_variable: String = "Very complex default argument value"
) on Type {
field
}
================================================================================
`;