test: fix for bug in test (Unhandled exception)

This commit is contained in:
Hagai Cohen 2016-10-05 01:50:43 +03:00
parent 0c3ba91964
commit 1e23da7e0a

View file

@ -267,7 +267,7 @@ describe(`GraphQL-HTTP (apolloServer) tests for ${version} express`, () => {
}`)
.attach('file', __filename);
req.then((response) => {
return req.then((response) => {
expect(JSON.parse(response.text)).to.deep.equal({
data: {
uploadFile: {