Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
remove graphql tag snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
James Baxley committed Jan 5, 2017
1 parent f08aab1 commit 5ed6260
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 115 deletions.
6 changes: 3 additions & 3 deletions examples/create-react-app/src/Pokemon.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
112 changes: 0 additions & 112 deletions examples/create-react-app/src/__snapshots__/Pokemon.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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`] = `
<div>
Loading
Expand Down

0 comments on commit 5ed6260

Please sign in to comment.