prettier/tests/multiparser_js_graphql
Ika b55997eb3d
fix(multiparser): no additional trailing newline for graphql in js (#4616)
Fixes #4615

The root cause is the output doc from graphql printer does not match the desired input from `stripTrailingHardline`.

a9b21a01e2/src/doc/doc-utils.js (L167-L180)
2018-06-01 00:38:39 +08:00
..
__snapshots__ fix(multiparser): no additional trailing newline for graphql in js (#4616) 2018-06-01 00:38:39 +08:00
backticks.js Fix embedded GraphQL in JS with backticks (#4265) 2018-04-05 17:52:09 -03:00
comment-tag.js Added support for the graph ql comment tag (#4395) 2018-05-09 01:52:35 -06:00
definitions.js fix(multiparser): no additional trailing newline for graphql in js (#4616) 2018-06-01 00:38:39 +08:00
expressions.js Support toplevel interpolations in graphql tags (#3370) 2017-12-03 12:31:23 +11:00
graphql-tag.js Support toplevel interpolations in graphql tags (#3370) 2017-12-03 12:31:23 +11:00
graphql.js Support graphql(schema, `query`) (#2781) 2017-09-11 20:18:11 +02:00
invalid.js Prevent formatting GraphQL embedded in JS if it contains invalid escape sequences (#4278) 2018-04-07 12:03:56 -03:00
jsfmt.spec.js Change run_spec to have explicit parser list (#3356) 2017-11-30 03:31:52 -03:00
react-relay.js Revert Relay Classic non-support (#3606) 2017-12-29 21:14:08 +01:00