diff --git a/package.json b/package.json index 100e2f2a..e462f4a9 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "babel-polyfill": "^6.9.1", "babel-preset-es2015": "^6.9.0", "chai": "^3.5.0", - "graphql": "^0.7.0", + "graphql": "^0.8.1", "istanbul": "1.0.0-alpha.2", "lerna": "git://github.com/DxCx/lerna.git#bootstrap-dev-bin-pkg", "mocha": "^3.1.1", @@ -38,4 +38,4 @@ "tslint": "^3.13.0", "typescript": "^2.0.3" } -} +} \ No newline at end of file diff --git a/packages/graphql-server-express/src/apolloServerHttp.test.ts b/packages/graphql-server-express/src/apolloServerHttp.test.ts index 0e34263f..edddac9b 100644 --- a/packages/graphql-server-express/src/apolloServerHttp.test.ts +++ b/packages/graphql-server-express/src/apolloServerHttp.test.ts @@ -281,7 +281,7 @@ describe(`GraphQL-HTTP (apolloServer) tests for ${version} express`, () => { }); describe('Error handling functionality', () => { - it('handles field errors caught by GraphQL', async () => { + it.only ('handles field errors caught by GraphQL', async () => { const app = express(); app.use(urlString(), bodyParser.json()); @@ -301,7 +301,8 @@ describe(`GraphQL-HTTP (apolloServer) tests for ${version} express`, () => { data: null, errors: [ { message: 'Throws!', - locations: [ { line: 1, column: 2 } ] + locations: [ { line: 1, column: 2 } ], + path:["thrower"] } ] }); });