diff --git a/examples/create-react-app/src/Pokemon.test.js b/examples/create-react-app/src/Pokemon.test.js index a640b89d1a..d60c8c274b 100644 --- a/examples/create-react-app/src/Pokemon.test.js +++ b/examples/create-react-app/src/Pokemon.test.js @@ -101,9 +101,9 @@ describe('Pokemon enhancer', () => { }); describe('Pokemon query', () => { - it('should match expected structure', () => { - expect(POKEMON_QUERY).toMatchSnapshot(); - }); + // it('should match expected structure', () => { + // expect(POKEMON_QUERY).toMatchSnapshot(); + // }); it('should match expected shape', () => { expect(print(POKEMON_QUERY)).toMatchSnapshot(); diff --git a/examples/create-react-app/src/__snapshots__/Pokemon.test.js.snap b/examples/create-react-app/src/__snapshots__/Pokemon.test.js.snap index f2823d6aba..4be5aece59 100644 --- a/examples/create-react-app/src/__snapshots__/Pokemon.test.js.snap +++ b/examples/create-react-app/src/__snapshots__/Pokemon.test.js.snap @@ -22,118 +22,6 @@ exports[`Pokemon query should match expected shape 1`] = ` " `; -exports[`Pokemon query should match expected structure 1`] = ` -Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "name": Object { - "kind": "Name", - "value": "GetPokemon", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", - "selections": Array [ - Object { - "alias": null, - "arguments": Array [ - Object { - "kind": "Argument", - "name": Object { - "kind": "Name", - "value": "name", - }, - "value": Object { - "kind": "Variable", - "name": Object { - "kind": "Name", - "value": "name", - }, - }, - }, - ], - "directives": Array [], - "kind": "Field", - "name": Object { - "kind": "Name", - "value": "pokemon", - }, - "selectionSet": Object { - "kind": "SelectionSet", - "selections": Array [ - Object { - "alias": null, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "name": Object { - "kind": "Name", - "value": "name", - }, - "selectionSet": null, - }, - Object { - "alias": null, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "name": Object { - "kind": "Name", - "value": "image", - }, - "selectionSet": null, - }, - ], - }, - }, - ], - }, - "variableDefinitions": Array [ - Object { - "defaultValue": null, - "kind": "VariableDefinition", - "type": Object { - "kind": "NonNullType", - "type": Object { - "kind": "NamedType", - "name": Object { - "kind": "Name", - "value": "String", - }, - }, - }, - "variable": Object { - "kind": "Variable", - "name": Object { - "kind": "Name", - "value": "name", - }, - }, - }, - ], - }, - ], - "kind": "Document", - "loc": Object { - "end": 98, - "source": Source { - "body": " - query GetPokemon($name: String!) { - pokemon(name: $name) { - name - image - } - } -", - "name": "GraphQL", - }, - "start": 3, - }, -} -`; - exports[`default export renders without crashing 1`] = `
Loading