From 850d51a03375dd0f2e85d94651e7560cb437e17f Mon Sep 17 00:00:00 2001 From: Christopher Chedeau Date: Tue, 27 Jun 2017 17:30:13 -0700 Subject: [PATCH] Tweak name --- .../__snapshots__/jsfmt.spec.js.snap | 36 +++++++++---------- tests/graphql_trailing_comma/trailing.graphql | 6 ++-- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/tests/graphql_trailing_comma/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_trailing_comma/__snapshots__/jsfmt.spec.js.snap index 3e976183..a2c348ba 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 448a41d5..436510a0 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}]