Skip to content

Commit

Permalink
Fix two last tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sashko Stubailo committed Sep 30, 2016
1 parent 9f5528b commit f150778
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
12 changes: 2 additions & 10 deletions test/QueryManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2800,18 +2800,10 @@ describe('QueryManager', () => {
}`;
const fullData = { fortuneCookie, author };

const diffQuery = gql`
query {
author {
name
}
}`;
const diffData = { author };

const queryManager = mockQueryManager(
{
request: { query: diffQuery },
result: { data: diffData },
request: { query },
result: { data: fullData },
delay: 5,
},
{
Expand Down
2 changes: 0 additions & 2 deletions test/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,6 @@ describe('client', () => {
typeName: 'Query',
selectionSet: (query.definitions[0] as OperationDefinition).selectionSet,
},
minimizedQueryString: null,
minimizedQuery: null,
variables: undefined,
loading: false,
stopped: false,
Expand Down

0 comments on commit f150778

Please sign in to comment.