test: Fix failing error text 0.8.0

This commit is contained in:
tallyb 2016-11-15 18:46:18 +02:00
parent e94bbcfb4f
commit f0e534b430
2 changed files with 5 additions and 4 deletions

View file

@ -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",

View file

@ -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"]
} ]
});
});