Skip to content

Commit

Permalink
chore(deps): update dependency graphql to v14 (#795)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency graphql to v14
* test(testing): fix query comparison
  • Loading branch information
renovate[bot] authored and kamilkisiela committed Aug 31, 2018
1 parent 171a03f commit 3fa3a66
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/apollo-angular-boost/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@angular/platform-server": "6.1.6",
"@types/graphql": "0.13.4",
"@types/jest": "23.3.1",
"graphql": "0.13.2",
"graphql": "14.0.0",
"jest": "23.5.0",
"jest-zone-patch": "0.0.8",
"ng-packagr": "4.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-angular-cache-ngrx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@ngrx/store": "6.1.0",
"@types/graphql": "0.13.4",
"@types/jest": "23.3.1",
"graphql": "0.13.2",
"graphql": "14.0.0",
"graphql-tag": "2.9.2",
"jest": "23.5.0",
"jest-zone-patch": "0.0.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-angular-link-headers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@types/graphql": "0.13.4",
"@types/jest": "23.3.1",
"apollo-link": "1.2.2",
"graphql": "0.13.2",
"graphql": "14.0.0",
"graphql-tag": "2.9.2",
"jest": "23.5.0",
"ng-packagr": "4.1.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/apollo-angular-link-http-batch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"peerDependencies": {
"@angular/core": "^6.0.0",
"@angular/common": "^6.0.0",
"graphql": "^0.11.3 || ^0.12.3 || ^0.13.0"
"graphql": "^0.11.3 || ^0.12.3 || ^0.13.0 || ^14.0.0"
},
"dependencies": {
"apollo-link": "^1.0.0",
Expand All @@ -47,7 +47,7 @@
"@types/jest": "23.3.1",
"apollo-cache-inmemory": "1.2.9",
"apollo-client": "2.4.1",
"graphql": "0.13.2",
"graphql": "14.0.0",
"graphql-tag": "2.9.2",
"jest": "23.5.0",
"jest-zone-patch": "0.0.8",
Expand Down
4 changes: 2 additions & 2 deletions packages/apollo-angular-link-http-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@angular/core": "^6.0.0",
"@angular/common": "^6.0.0",
"apollo-link": "^1.0.0",
"graphql": "^0.11.3 || ^0.12.3 || ^0.13.0"
"graphql": "^0.11.3 || ^0.12.3 || ^0.13.0 || ^14.0.0"
},
"devDependencies": {
"@angular/animations": "6.1.6",
Expand All @@ -44,7 +44,7 @@
"apollo-cache-inmemory": "1.2.9",
"apollo-client": "2.4.1",
"apollo-link": "1.2.2",
"graphql": "0.13.2",
"graphql": "14.0.0",
"graphql-tag": "2.9.2",
"jest": "23.5.0",
"jest-zone-patch": "0.0.8",
Expand Down
4 changes: 2 additions & 2 deletions packages/apollo-angular-link-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@angular/core": "^6.0.0",
"@angular/common": "^6.0.0",
"apollo-link": "^1.0.0",
"graphql": "^0.11.3 || ^0.12.3 || ^0.13.0"
"graphql": "^0.11.3 || ^0.12.3 || ^0.13.0 || ^14.0.0"
},
"dependencies": {
"apollo-angular-link-http-common": "~1.2.0"
Expand All @@ -47,7 +47,7 @@
"apollo-cache-inmemory": "1.2.9",
"apollo-client": "2.4.1",
"apollo-link": "1.2.2",
"graphql": "0.13.2",
"graphql": "14.0.0",
"graphql-tag": "2.9.2",
"jest": "23.5.0",
"jest-zone-patch": "0.0.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-angular-link-persisted/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/graphql": "0.13.4",
"@types/jest": "23.3.1",
"apollo-link": "1.2.2",
"graphql": "0.13.2",
"graphql": "14.0.0",
"graphql-tag": "2.9.2",
"jest": "23.5.0",
"ng-packagr": "4.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"apollo-client": "2.4.1",
"apollo-link": "1.2.2",
"cpx": "1.5.0",
"graphql": "0.13.2",
"graphql": "14.0.0",
"graphql-tag": "2.9.2",
"jest": "23.5.0",
"jest-zone-patch": "0.0.8",
Expand Down
5 changes: 3 additions & 2 deletions packages/apollo-angular/testing/tests/integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {setupAngular} from './_setup';
import {Apollo} from 'apollo-angular';
import {TestBed, inject} from '@angular/core/testing';
import {addTypenameToDocument} from 'apollo-utilities';
import {print} from 'graphql';

import gql from 'graphql-tag';

Expand Down Expand Up @@ -170,9 +171,9 @@ describe('Integration', () => {

backend
.expectOne(operation => {
expect(operation.operationName).toEqual(op.operationName);
expect(operation.operationName).toBe(op.operationName);
expect(operation.variables).toEqual(op.variables);
expect(operation.query).toEqual(op.query);
expect(print(operation.query)).toBe(print(op.query));

return true;
})
Expand Down

0 comments on commit 3fa3a66

Please sign in to comment.