diff --git a/tests/graphql_trailing_comma/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_trailing_comma/__snapshots__/jsfmt.spec.js.snap index 3e9761830..a2c348ba8 100644 --- a/tests/graphql_trailing_comma/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_trailing_comma/__snapshots__/jsfmt.spec.js.snap @@ -1,11 +1,11 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`trailing.graphql 1`] = ` -query CityGuidesSocialUnitRendererQuery( +query Query( $pageID: ID! $scale: Float - $SOCIAL_UNIT_PROFILE_PICTURE_SIZE: Int - $SOCIAL_UNIT_CARD_SIZE: Int + $PROJECT_UNIT_PROFILE_PICTURE_SIZE: Int + $PROJECT_UNIT_CARD_SIZE: Int ) @argumentDefinitions( count: {type: "Int", defaultValue: 20, someSuperSuperSuperSuperLongType: 301} test: [{type: "Int", defaultValue: 20, someSuperSuperSuperSuperLongType: 301}] @@ -22,11 +22,11 @@ query CityGuidesSocialUnitRendererQuery( } } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -query CityGuidesSocialUnitRendererQuery( +query Query( $pageID: ID!, $scale: Float, - $SOCIAL_UNIT_PROFILE_PICTURE_SIZE: Int, - $SOCIAL_UNIT_CARD_SIZE: Int + $PROJECT_UNIT_PROFILE_PICTURE_SIZE: Int, + $PROJECT_UNIT_CARD_SIZE: Int ) @argumentDefinitions( count: { @@ -53,11 +53,11 @@ query CityGuidesSocialUnitRendererQuery( `; exports[`trailing.graphql 2`] = ` -query CityGuidesSocialUnitRendererQuery( +query Query( $pageID: ID! $scale: Float - $SOCIAL_UNIT_PROFILE_PICTURE_SIZE: Int - $SOCIAL_UNIT_CARD_SIZE: Int + $PROJECT_UNIT_PROFILE_PICTURE_SIZE: Int + $PROJECT_UNIT_CARD_SIZE: Int ) @argumentDefinitions( count: {type: "Int", defaultValue: 20, someSuperSuperSuperSuperLongType: 301} test: [{type: "Int", defaultValue: 20, someSuperSuperSuperSuperLongType: 301}] @@ -74,11 +74,11 @@ query CityGuidesSocialUnitRendererQuery( } } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -query CityGuidesSocialUnitRendererQuery( +query Query( $pageID: ID!, $scale: Float, - $SOCIAL_UNIT_PROFILE_PICTURE_SIZE: Int, - $SOCIAL_UNIT_CARD_SIZE: Int, + $PROJECT_UNIT_PROFILE_PICTURE_SIZE: Int, + $PROJECT_UNIT_CARD_SIZE: Int, ) @argumentDefinitions( count: { @@ -105,11 +105,11 @@ query CityGuidesSocialUnitRendererQuery( `; exports[`trailing.graphql 3`] = ` -query CityGuidesSocialUnitRendererQuery( +query Query( $pageID: ID! $scale: Float - $SOCIAL_UNIT_PROFILE_PICTURE_SIZE: Int - $SOCIAL_UNIT_CARD_SIZE: Int + $PROJECT_UNIT_PROFILE_PICTURE_SIZE: Int + $PROJECT_UNIT_CARD_SIZE: Int ) @argumentDefinitions( count: {type: "Int", defaultValue: 20, someSuperSuperSuperSuperLongType: 301} test: [{type: "Int", defaultValue: 20, someSuperSuperSuperSuperLongType: 301}] @@ -126,11 +126,11 @@ query CityGuidesSocialUnitRendererQuery( } } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -query CityGuidesSocialUnitRendererQuery( +query Query( $pageID: ID!, $scale: Float, - $SOCIAL_UNIT_PROFILE_PICTURE_SIZE: Int, - $SOCIAL_UNIT_CARD_SIZE: Int, + $PROJECT_UNIT_PROFILE_PICTURE_SIZE: Int, + $PROJECT_UNIT_CARD_SIZE: Int, ) @argumentDefinitions( count: { diff --git a/tests/graphql_trailing_comma/trailing.graphql b/tests/graphql_trailing_comma/trailing.graphql index 448a41d57..436510a00 100644 --- a/tests/graphql_trailing_comma/trailing.graphql +++ b/tests/graphql_trailing_comma/trailing.graphql @@ -1,8 +1,8 @@ -query CityGuidesSocialUnitRendererQuery( +query Query( $pageID: ID! $scale: Float - $SOCIAL_UNIT_PROFILE_PICTURE_SIZE: Int - $SOCIAL_UNIT_CARD_SIZE: Int + $PROJECT_UNIT_PROFILE_PICTURE_SIZE: Int + $PROJECT_UNIT_CARD_SIZE: Int ) @argumentDefinitions( count: {type: "Int", defaultValue: 20, someSuperSuperSuperSuperLongType: 301} test: [{type: "Int", defaultValue: 20, someSuperSuperSuperSuperLongType: 301}]