mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 02:01:40 -05:00
test: Fix failing error text 0.8.0
This commit is contained in:
parent
e94bbcfb4f
commit
f0e534b430
2 changed files with 5 additions and 4 deletions
|
@ -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",
|
||||
|
|
|
@ -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"]
|
||||
} ]
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue